commit 744cc7ee28c5b559051e6f3d721f850a5bc9ca09
Author: Quentin Rameau <[email protected]>
AuthorDate: Mon May 30 11:43:50 2016 +0200
Commit: Quentin Rameau <[email protected]>
CommitDate: Mon May 30 11:43:50 2016 +0200
[driver] use PATH_MAX instead of FILENAME_MAX
This is a file path there, so use the correct constant.
diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index ad058da..d3eb0e9 100644
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -24,7 +24,7 @@ enum {
};
static struct {
- char cmd[FILENAME_MAX];
+ char cmd[PATH_MAX];
char *args[NARGS];
char bin[16];
char name[8];