From ebf49f3e875981e9037ce36eddcab3ccb5925ebf Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Thu, 1 May 2014 08:34:26 -0700 Subject: [PATCH] init: 64-bit build issue (cherry pick from Icc5344abc184adf4247175d85b2da08af4636e49) Change-Id: I88b0c9b20720ac62ebae8359ded4ab77b4ebcdde --- init/property_service.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init/property_service.c b/init/property_service.c index eb19f93a7..7e8d79a07 100644 --- a/init/property_service.c +++ b/init/property_service.c @@ -557,7 +557,8 @@ static void load_persistent_properties() || (sb.st_gid != 0) || (sb.st_nlink != 1)) { ERROR("skipping insecure property file %s (uid=%u gid=%u nlink=%d mode=%o)\n", - entry->d_name, sb.st_uid, sb.st_gid, sb.st_nlink, sb.st_mode); + entry->d_name, (unsigned int)sb.st_uid, (unsigned int)sb.st_gid, + sb.st_nlink, sb.st_mode); close(fd); continue; }