summaryrefslogtreecommitdiffstats
path: root/apps/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playlist.c')
-rw-r--r--apps/playlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index 67d59d1aac..f4e8ddb104 100644
--- a/apps/playlist.c
+++ b/apps/playlist.c
@@ -589,7 +589,7 @@ static ssize_t format_track_path(char *dest, char *src, int buf_length,
dlen = -1u;
}
- len = path_append_ex(dest, dir, dlen, src, buf_length);
+ len = path_append_ex(dest, dir, dlen, src, -1u, buf_length);
if (len >= (size_t)buf_length)
return -1; /* buffer too small */