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
This commit is contained in:
parent
d2000a9178
commit
961b5dd4c1
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue