use PATH_MAX instead of MAXPATHLEN

This commit is contained in:
Hector Martin
2017-07-29 19:32:45 +09:00
parent 4ad9428dfa
commit 20e887db90
5 changed files with 11 additions and 10 deletions

View File

@@ -2,6 +2,7 @@
#define _LOADER_H_
#include <unistd.h>
#include <limits.h>
#include <gctypes.h>
@@ -25,7 +26,7 @@ typedef struct {
char args[ARGS_MAX_LEN];
u32 args_len;
char dirname[MAXPATHLEN];
char dirname[PATH_MAX];
u32 bytes;
} loader_result;