summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2014-03-11 22:58:09 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-03-11 22:58:09 +0000
commit28e41cce803f0f9e45344a060444f8575a417409 (patch)
treea2d332e546cb82559f1e1dfd77cb46a7e09d7d56
parentcb0bb7c5f48d4441902282a1ceaf32c5defd10db (diff)
parent18b712784558747a16dcf200818b9a48ffc606a2 (diff)
downloadsystem_core-28e41cce803f0f9e45344a060444f8575a417409.zip
system_core-28e41cce803f0f9e45344a060444f8575a417409.tar.gz
system_core-28e41cce803f0f9e45344a060444f8575a417409.tar.bz2
Merge "libadfhwc: use %zu for logging size_t"
-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;
}