diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-05-01 08:34:26 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-05-01 12:19:45 -0700 |
commit | ebf49f3e875981e9037ce36eddcab3ccb5925ebf (patch) | |
tree | 96554427f390d2519c78d76fdb4f375329fcf363 /init | |
parent | c7580819934b85e93f58001f9b59b12712bb61b8 (diff) | |
download | system_core-ebf49f3e875981e9037ce36eddcab3ccb5925ebf.zip system_core-ebf49f3e875981e9037ce36eddcab3ccb5925ebf.tar.gz system_core-ebf49f3e875981e9037ce36eddcab3ccb5925ebf.tar.bz2 |
init: 64-bit build issue
(cherry pick from Icc5344abc184adf4247175d85b2da08af4636e49)
Change-Id: I88b0c9b20720ac62ebae8359ded4ab77b4ebcdde
Diffstat (limited to 'init')
-rw-r--r-- | init/property_service.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init/property_service.c b/init/property_service.c index eb19f93..7e8d79a 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; } |