diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-03-12 13:12:44 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-03-12 13:12:44 -0700 |
commit | 92dc3fc52cf097bd105460cf377779bdcf146d62 (patch) | |
tree | aa1c6a8230541a45e941eb4c459b19b8487e08d3 /cmds/installd/utils.c | |
parent | 06ed9491418ce84e4272bf4201545fa6cfe3932e (diff) | |
download | frameworks_native-92dc3fc52cf097bd105460cf377779bdcf146d62.zip frameworks_native-92dc3fc52cf097bd105460cf377779bdcf146d62.tar.gz frameworks_native-92dc3fc52cf097bd105460cf377779bdcf146d62.tar.bz2 |
native frameworks: 64-bit compile issues
- Fix format (print/scanf)
- Suppress unused argument warning messages (bonus)
Change-Id: I05c7724d2aba6da1e82a86000e11f3a8fef4e728
Diffstat (limited to 'cmds/installd/utils.c')
-rw-r--r-- | cmds/installd/utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds/installd/utils.c b/cmds/installd/utils.c index 0642330..8f4da65 100644 --- a/cmds/installd/utils.c +++ b/cmds/installd/utils.c @@ -435,7 +435,7 @@ static void _inc_num_cache_collected(cache_t* cache) { cache->numCollected++; if ((cache->numCollected%20000) == 0) { - ALOGI("Collected cache so far: %d directories, %d files", + ALOGI("Collected cache so far: %zd directories, %zd files", cache->numDirs, cache->numFiles); } } @@ -730,7 +730,7 @@ void clear_cache_files(cache_t* cache, int64_t free_size) int skip = 0; char path[PATH_MAX]; - ALOGI("Collected cache files: %d directories, %d files", + ALOGI("Collected cache files: %zd directories, %zd files", cache->numDirs, cache->numFiles); CACHE_NOISY(ALOGI("Sorting files...")); |