From 3107a2f5f2cd3fa5563924cb9b659463a7f7f537 Mon Sep 17 00:00:00 2001 From: Dmitriy Ivanov Date: Tue, 3 Feb 2015 16:42:09 -0800 Subject: [PATCH] Fix x86_64 build Change-Id: Iaa3a641907de55b398a3bdd0bbc63cbb9d367982 --- init/property_service.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init/property_service.c b/init/property_service.c index 55e37b923..7dd9ef941 100644 --- a/init/property_service.c +++ b/init/property_service.c @@ -464,9 +464,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=%u gid=%u nlink=%d mode=%o)\n", + ERROR("skipping insecure property file %s (uid=%u gid=%u nlink=%u mode=%o)\n", entry->d_name, (unsigned int)sb.st_uid, (unsigned int)sb.st_gid, - sb.st_nlink, sb.st_mode); + (unsigned int)sb.st_nlink, sb.st_mode); close(fd); continue; }