diff --git a/lib/roken/getusershell.c b/lib/roken/getusershell.c index ff696a03d..02dae9445 100644 --- a/lib/roken/getusershell.c +++ b/lib/roken/getusershell.c @@ -132,7 +132,7 @@ initshells() } sp = shells; cp = strings; - while (fgets(cp, MAXPATHLEN + 1, fp) != NULL) { + while (fgets(cp, MaxPathLen + 1, fp) != NULL) { while (*cp != '#' && *cp != '/' && *cp != '\0') cp++; if (*cp == '#' || *cp == '\0')