summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/metadata.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/metadata.c b/apps/metadata.c
index fb0ce0341c..866e035f4e 100644
--- a/apps/metadata.c
+++ b/apps/metadata.c
@@ -312,6 +312,7 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname)
312 return false; 312 return false;
313 } 313 }
314 314
315 lseek(fd, 0, SEEK_SET);
315 strlcpy(id3->path, trackname, sizeof(id3->path)); 316 strlcpy(id3->path, trackname, sizeof(id3->path));
316 /* We have successfully read the metadata from the file */ 317 /* We have successfully read the metadata from the file */
317 return true; 318 return true;