From f98a0a97f699c4fb854b3c893bfe398075c45c72 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Fri, 23 Nov 2007 17:58:03 +0000 Subject: [PATCH] Fixed compile errors with logf enabled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15777 a1c6a512-1295-4272-9138-f99709370657 --- apps/tagtree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/tagtree.c b/apps/tagtree.c index 725e90324a..8f83c861bb 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -639,7 +639,7 @@ void tagtree_buffer_event(struct mp3entry *id3) if (!global_settings.runtimedb) return; - logf("be:%d%s", last_track, id3->path); + logf("be:%s", id3->path); if (!tagcache_find_index(&tcs, id3->path)) { @@ -698,7 +698,7 @@ static void tagtree_unbuffer_event(struct mp3entry *id3) playtime = id3->playtime + MIN(id3->length, id3->elapsed + 15 * 1000); logf("ube:%s", id3->path); - logf("-> %d/%ld/%ld", last_track, playcount, playtime); + logf("-> %ld/%ld", playcount, playtime); logf("-> %ld/%ld/%ld", id3->elapsed, id3->length, MIN(id3->length, id3->elapsed + 15 * 1000)); /* Queue the updates to the tagcache system. */