diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2007-03-18 09:50:53 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2007-03-18 09:50:53 +0000 |
commit | 01a010fd19a64f150ea95f223b1fd209c378ae57 (patch) | |
tree | 40353423740b16e74e1128a283ea882f50bc8710 /firmware/common | |
parent | dd40a2e2fcde145cd6a70a1042729032e4da26f3 (diff) | |
download | rockbox-01a010fd19a64f150ea95f223b1fd209c378ae57.tar.gz rockbox-01a010fd19a64f150ea95f223b1fd209c378ae57.zip |
Fix several printf-style warnings in logf builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12830 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common')
-rw-r--r-- | firmware/common/dircache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/dircache.c b/firmware/common/dircache.c index f78fa2d0cf..023f00f848 100644 --- a/firmware/common/dircache.c +++ b/firmware/common/dircache.c | |||
@@ -461,7 +461,7 @@ int dircache_load(void) | |||
461 | dircache_size = maindata.size; | 461 | dircache_size = maindata.size; |
462 | allocated_size = dircache_size + DIRCACHE_RESERVE; | 462 | allocated_size = dircache_size + DIRCACHE_RESERVE; |
463 | reserve_used = 0; | 463 | reserve_used = 0; |
464 | logf("Done, %d KiB used", dircache_size / 1024); | 464 | logf("Done, %ld KiB used", dircache_size / 1024); |
465 | dircache_initialized = true; | 465 | dircache_initialized = true; |
466 | memset(fd_bindings, 0, sizeof(fd_bindings)); | 466 | memset(fd_bindings, 0, sizeof(fd_bindings)); |
467 | 467 | ||
@@ -564,7 +564,7 @@ static int dircache_do_rebuild(void) | |||
564 | } | 564 | } |
565 | cpu_boost(false); | 565 | cpu_boost(false); |
566 | 566 | ||
567 | logf("Done, %d KiB used", dircache_size / 1024); | 567 | logf("Done, %ld KiB used", dircache_size / 1024); |
568 | 568 | ||
569 | dircache_initialized = true; | 569 | dircache_initialized = true; |
570 | dircache_initializing = false; | 570 | dircache_initializing = false; |