Use PATH_MAX rather than MAXPATHLEN.

This commit is contained in:
Warner Losh 2001-05-30 03:27:07 +00:00
parent c619c9a345
commit 5782e27253

View File

@ -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;