summaryrefslogtreecommitdiff
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,
589 dlen = -1u; 589 dlen = -1u;
590 } 590 }
591 591
592 len = path_append_ex(dest, dir, dlen, src, buf_length); 592 len = path_append_ex(dest, dir, dlen, src, -1u, buf_length);
593 if (len >= (size_t)buf_length) 593 if (len >= (size_t)buf_length)
594 return -1; /* buffer too small */ 594 return -1; /* buffer too small */
595 595