From 0aff05eb8c23eefb770eb1ecd93e1d39dbab52f5 Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Mon, 17 Mar 2014 08:38:37 -0700 Subject: init: 64-bit build issue Change-Id: Icc5344abc184adf4247175d85b2da08af4636e49 --- init/property_service.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'init') diff --git a/init/property_service.c b/init/property_service.c index ff22677..db5a45b 100644 --- a/init/property_service.c +++ b/init/property_service.c @@ -540,8 +540,9 @@ static void load_persistent_properties() || (sb.st_uid != 0) || (sb.st_gid != 0) || (sb.st_nlink != 1)) { - ERROR("skipping insecure property file %s (uid=%lu gid=%lu nlink=%d mode=%o)\n", - entry->d_name, sb.st_uid, sb.st_gid, sb.st_nlink, sb.st_mode); + ERROR("skipping insecure property file %s (uid=%u gid=%u nlink=%d mode=%o)\n", + entry->d_name, (unsigned int)sb.st_uid, (unsigned int)sb.st_gid, + sb.st_nlink, sb.st_mode); close(fd); continue; } -- cgit v1.1