summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-09-19 08:17:15 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-09-19 08:17:15 +0000
commit961b5dd4c15a0c5a78f29a3e24284c5c1cfc9625 (patch)
tree748900c10ed66a76dcda2d736a1229e1c0dd8795
parentd2000a91783328ba7be454a82b4d9572fe1dacf0 (diff)
downloadrockbox-961b5dd4c15a0c5a78f29a3e24284c5c1cfc9625.tar.gz
rockbox-961b5dd4c15a0c5a78f29a3e24284c5c1cfc9625.tar.bz2
rockbox-961b5dd4c15a0c5a78f29a3e24284c5c1cfc9625.zip
tagcache open_files(): open the correct file (missed in r27656)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28114 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/tagcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index a6cfb4c590..39ed99fcce 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -680,7 +680,7 @@ static bool open_files(struct tagcache_search *tcs, int tag)
snprintf(fn, sizeof fn, TAGCACHE_FILE_INDEX, tag);
file = get_user_file_path(fn, IS_FILE | NEED_WRITE, path, sizeof(path));
- tcs->idxfd[tag] = open(fn, O_RDONLY);
+ tcs->idxfd[tag] = open(file, O_RDONLY);
}
if (tcs->idxfd[tag] < 0)