diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-08-01 10:40:17 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-08-01 10:40:17 +0000 |
commit | f2164ae0fac10feadff6a3c9d1fbe4f7d336fbfc (patch) | |
tree | 5c1efbcc394dec8b7ad7a6e5e7a662485aa947ae /usr.sbin/chkgrp/chkgrp.c | |
parent | 80d9f89289b06cf5518abd5490f10d440edd8b0c (diff) |
Revert r286148
Notes
Notes:
svn path=/head/; revision=286153
Diffstat (limited to 'usr.sbin/chkgrp/chkgrp.c')
-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 0811e30f4e9d..81cb83bfdf10 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); |