summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2014-03-11 14:42:32 -0700
committerGreg Hackmann <ghackmann@google.com>2014-03-11 14:42:53 -0700
commit18b712784558747a16dcf200818b9a48ffc606a2 (patch)
tree28a34105bfb37ee4e98e17c29918e972af06b3cd
parent443904746301e4d519e51075487ea4c8b9a860e3 (diff)
downloadsystem_core-18b712784558747a16dcf200818b9a48ffc606a2.zip
system_core-18b712784558747a16dcf200818b9a48ffc606a2.tar.gz
system_core-18b712784558747a16dcf200818b9a48ffc606a2.tar.bz2
libadfhwc: use %zu for logging size_t
Change-Id: Ica75935a194509f9d85d8e577b81f9de03aaaea4 Signed-off-by: Greg Hackmann <ghackmann@google.com>
-rw-r--r--adf/libadfhwc/adfhwc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/adf/libadfhwc/adfhwc.cpp b/adf/libadfhwc/adfhwc.cpp
index dee3cae..57e09eb 100644
--- a/adf/libadfhwc/adfhwc.cpp
+++ b/adf/libadfhwc/adfhwc.cpp
@@ -257,7 +257,7 @@ int adf_hwc_open(int *intf_fds, size_t n_intfs,
ret = adf_set_event(dup_intf_fd, ADF_EVENT_HOTPLUG, 1);
if (ret < 0 && ret != -EINVAL) {
- ALOGE("failed to enable hotplug event on display %u: %s",
+ ALOGE("failed to enable hotplug event on display %zu: %s",
i, strerror(errno));
goto err;
}