diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-03-20 13:53:23 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-03-20 13:53:23 +0000 |
commit | 3354531614340b9a6b32cbf1b1d9b29a7c0b6513 (patch) | |
tree | d37754dba1cbd191911c43af23084d22fd0360ea /apps/tagcache.c | |
parent | e693bc0f5de6c672246f9987e2cfc2615851fabd (diff) | |
download | rockbox-3354531614340b9a6b32cbf1b1d9b29a7c0b6513.tar.gz rockbox-3354531614340b9a6b32cbf1b1d9b29a7c0b6513.zip |
More logf fixes. speex.c wants to format 64bit args so I didn't change that one nor add any formatting for that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12858 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagcache.c')
-rw-r--r-- | apps/tagcache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c index 3a8e73599b..6f49d372e3 100644 --- a/apps/tagcache.c +++ b/apps/tagcache.c | |||
@@ -2395,7 +2395,7 @@ static int build_index(int index_type, struct tagcache_header *h, int tmpfd) | |||
2395 | { | 2395 | { |
2396 | logf("too long entry!"); | 2396 | logf("too long entry!"); |
2397 | logf("length=%d", entry.tag_length[index_type]); | 2397 | logf("length=%d", entry.tag_length[index_type]); |
2398 | logf("pos=0x%02x", lseek(tmpfd, 0, SEEK_CUR)); | 2398 | logf("pos=0x%02lx", lseek(tmpfd, 0, SEEK_CUR)); |
2399 | error = true; | 2399 | error = true; |
2400 | break ; | 2400 | break ; |
2401 | } | 2401 | } |
@@ -2429,7 +2429,7 @@ static int build_index(int index_type, struct tagcache_header *h, int tmpfd) | |||
2429 | idxbuf[j].tag_seek[index_type] = tempbuf_find_location(i + j); | 2429 | idxbuf[j].tag_seek[index_type] = tempbuf_find_location(i + j); |
2430 | if (idxbuf[j].tag_seek[index_type] < 0) | 2430 | if (idxbuf[j].tag_seek[index_type] < 0) |
2431 | { | 2431 | { |
2432 | logf("entry not found (%d)"); | 2432 | logf("entry not found (%d)", j); |
2433 | error = true; | 2433 | error = true; |
2434 | break ; | 2434 | break ; |
2435 | } | 2435 | } |
@@ -3496,7 +3496,7 @@ static bool load_tagcache(void) | |||
3496 | logf("read error #13"); | 3496 | logf("read error #13"); |
3497 | logf("rc=0x%04x", rc); // 0x431 | 3497 | logf("rc=0x%04x", rc); // 0x431 |
3498 | logf("len=0x%04x", fe->tag_length); // 0x4000 | 3498 | logf("len=0x%04x", fe->tag_length); // 0x4000 |
3499 | logf("pos=0x%04x", lseek(fd, 0, SEEK_CUR)); // 0x433 | 3499 | logf("pos=0x%04lx", lseek(fd, 0, SEEK_CUR)); // 0x433 |
3500 | logf("tag=0x%02x", tag); // 0x00 | 3500 | logf("tag=0x%02x", tag); // 0x00 |
3501 | close(fd); | 3501 | close(fd); |
3502 | return false; | 3502 | return false; |