Revert r286148

This commit is contained in:
bapt 2015-08-01 10:40:17 +00:00
parent 9a71628c9f
commit dff11a9b7f

View File

@ -171,9 +171,9 @@ main(int argc, char *argv[])
/* check the range of the group id */
errno = 0;
gid = strtoumax(f[2], NULL, 10);
gid = strtoul(f[2], NULL, 10);
if (errno != 0) {
warnx("%s: line %d: strtoumax failed", gfn, n);
warnx("%s: line %d: strtoul failed", gfn, n);
} else if (gid > GID_MAX) {
warnx("%s: line %d: group id is too large (%ju > %ju)",
gfn, n, (uintmax_t)gid, (uintmax_t)GID_MAX);