summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/play.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/play.c b/src/play.c
index de33499..ce2669c 100644
--- a/src/play.c
+++ b/src/play.c
@@ -286,7 +286,7 @@ int play_file(struct play **playp, struct player *player,
const char *filename, int repeat)
{
struct mbuf *mb;
- char path[512];
+ char path[FS_PATH_MAX];
uint32_t srate = 0;
uint8_t ch = 0;
int err;