From: sbrissen Date: Wed, 6 Nov 2013 18:28:15 +0000 (-0500) Subject: Exynos: fix gralloc build X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52466f81e21a45954996ea32f17338c3353f985c;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git Exynos: fix gralloc build Change-Id: Iae8c7cf947aacb6ec5c952a10a14b9d41c397ed2 --- diff --git a/exynos4/hal/libgralloc_ump/framebuffer_device.cpp b/exynos4/hal/libgralloc_ump/framebuffer_device.cpp index cfdedba..b141878 100644 --- a/exynos4/hal/libgralloc_ump/framebuffer_device.cpp +++ b/exynos4/hal/libgralloc_ump/framebuffer_device.cpp @@ -322,7 +322,7 @@ int init_frame_buffer_locked(struct private_module_t* module) module->ydpi = ydpi; module->fps = fps; - char value[32]; + char value[PROPERTY_VALUE_MAX]; property_get("debug.gralloc.vsync", value, "1"); module->enableVSync = atoi(value); /*