Use PATH_MAX rather than MAXPATHLEN.
This commit is contained in:
parent
c619c9a345
commit
5782e27253
@ -229,7 +229,7 @@ main(argc, argv)
|
||||
/* FALLTHROUGH */
|
||||
case 't': {
|
||||
struct stat sb;
|
||||
char *ttypath, pathbuf[MAXPATHLEN];
|
||||
char *ttypath, pathbuf[PATH_MAX];
|
||||
|
||||
if (strcmp(optarg, "co") == 0)
|
||||
ttypath = _PATH_CONSOLE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user