diff options
author | bapt <bapt@FreeBSD.org> | 2015-08-01 10:40:17 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-08-01 10:40:17 +0000 |
commit | dff11a9b7f3ddf2759ddfe8c8cadb2f8624a8ade (patch) | |
tree | 5c1efbcc394dec8b7ad7a6e5e7a662485aa947ae /usr.sbin | |
parent | 9a71628c9f96d9d0a64d5e4708d4ba4709c2c421 (diff) | |
download | FreeBSD-src-dff11a9b7f3ddf2759ddfe8c8cadb2f8624a8ade.zip FreeBSD-src-dff11a9b7f3ddf2759ddfe8c8cadb2f8624a8ade.tar.gz |
Revert r286148
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/chkgrp/chkgrp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/chkgrp/chkgrp.c b/usr.sbin/chkgrp/chkgrp.c index 0811e30..81cb83b 100644 --- a/usr.sbin/chkgrp/chkgrp.c +++ b/usr.sbin/chkgrp/chkgrp.c @@ -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); |