summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pwd_mkdb
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1996-06-20 19:19:29 +0000
committerjulian <julian@FreeBSD.org>1996-06-20 19:19:29 +0000
commite7934b56b01e4a1aeb8fabc6d96f452952d915fb (patch)
tree832987257c81c1999b531a2a2fd0177e2da468ce /usr.sbin/pwd_mkdb
parentdc39aea8d0f37932c58d8ae9b851a99d0d47129b (diff)
downloadFreeBSD-src-e7934b56b01e4a1aeb8fabc6d96f452952d915fb.zip
FreeBSD-src-e7934b56b01e4a1aeb8fabc6d96f452952d915fb.tar.gz
Submitted by: archie@whistle.com
This program should COMPLAIN about uids > 65K but not abort.. they are after all legal, and some of us NEED them!
Diffstat (limited to 'usr.sbin/pwd_mkdb')
-rw-r--r--usr.sbin/pwd_mkdb/pw_scan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pwd_mkdb/pw_scan.c b/usr.sbin/pwd_mkdb/pw_scan.c
index 9d280f7..00f640b 100644
--- a/usr.sbin/pwd_mkdb/pw_scan.c
+++ b/usr.sbin/pwd_mkdb/pw_scan.c
@@ -83,7 +83,7 @@ pw_scan(bp, pw)
}
if (id > USHRT_MAX) {
warnx("%s > max uid value (%d)", p, USHRT_MAX);
- return (0);
+ /*return (0);*/ /* THIS SHOULD NOT BE FATAL! */
}
pw->pw_uid = id;
@@ -93,7 +93,7 @@ pw_scan(bp, pw)
id = atol(p);
if (id > USHRT_MAX) {
warnx("%s > max gid value (%d)", p, USHRT_MAX);
- return (0);
+ /* return (0); This should not be fatal! */
}
pw->pw_gid = id;
OpenPOWER on IntegriCloud