aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-03-04 08:21:26 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-03-04 08:21:26 +0000
commit86cf6187194f6cecf990f525471bbe43ae6ee9e2 (patch)
treeeb1119791dce42b331e5f0ba30d2827ce4ad64b8
parente2712e4dc6ac90fe9d2534f2db115ad24c1f5d45 (diff)
parent9b51713941462a709044b038d245913cdc24f1d5 (diff)
downloadgoldfish-opengl-86cf6187194f6cecf990f525471bbe43ae6ee9e2.tar.gz
Snap for 4632767 from 9b51713941462a709044b038d245913cdc24f1d5 to pi-release
Change-Id: I70004660005257cec2cb78237a8ee05783d74b1e
-rw-r--r--system/gralloc/gralloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/gralloc/gralloc.cpp b/system/gralloc/gralloc.cpp
index e45bf63a..9569d344 100644
--- a/system/gralloc/gralloc.cpp
+++ b/system/gralloc/gralloc.cpp
@@ -670,7 +670,7 @@ static int gralloc_alloc(alloc_device_t* dev,
// round to page size;
ashmem_size = (ashmem_size + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1);
- ALOGD("%s: Creating ashmem region of size %lu\n", __FUNCTION__, ashmem_size);
+ ALOGD("%s: Creating ashmem region of size %d\n", __FUNCTION__, ashmem_size);
fd = ashmem_create_region("gralloc-buffer", ashmem_size);
if (fd < 0) {
ALOGE("gralloc_alloc failed to create ashmem region: %s\n",