summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2016-10-30 10:57:43 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2016-10-30 10:57:43 +0100
commit85bbde9baaeef21a57d75dea35a67a2167c17a55 (patch)
tree47daede61150c5bfebd4930074799e0a211c1439 /src
parent84adba018fe8de37e6d4f08db5ab51b505d67673 (diff)
play: use FS_PATH_MAX
Diffstat (limited to 'src')
-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;