init: 64-bit build issue

Change-Id: Icc5344abc184adf4247175d85b2da08af4636e49
This commit is contained in:
Mark Salyzyn 2014-03-17 08:38:37 -07:00
parent 22377569bb
commit 0aff05eb8c
1 changed files with 3 additions and 2 deletions

View File

@ -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;
}