summaryrefslogtreecommitdiff
path: root/lib/libc/gen/pw_scan.c
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2001-03-05 11:58:12 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2001-03-05 11:58:12 +0000
commitaa9ab917d7d0d359a0628a0de46d6948693bf933 (patch)
tree8ae15b1312c04d53be61362390e41f6f52287be6 /lib/libc/gen/pw_scan.c
parent48561791ce856095040d5b9ebd604effc22aa951 (diff)
Notes
Diffstat (limited to 'lib/libc/gen/pw_scan.c')
-rw-r--r--lib/libc/gen/pw_scan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/pw_scan.c b/lib/libc/gen/pw_scan.c
index 3ecb9e0ac07a..a2eadba953f0 100644
--- a/lib/libc/gen/pw_scan.c
+++ b/lib/libc/gen/pw_scan.c
@@ -103,7 +103,7 @@ __pw_scan(char *bp, struct passwd *pw, int flags)
id = strtoul(p, (char **)NULL, 10);
if (errno == ERANGE) {
if (flags & _PWSCAN_WARN)
- warnx("%s > max uid value (%u)", p, ULONG_MAX);
+ warnx("%s > max uid value (%lu)", p, ULONG_MAX);
return (0);
}
if (root && id) {
@@ -123,7 +123,7 @@ __pw_scan(char *bp, struct passwd *pw, int flags)
id = strtoul(p, (char **)NULL, 10);
if (errno == ERANGE) {
if (flags & _PWSCAN_WARN)
- warnx("%s > max gid value (%u)", p, ULONG_MAX);
+ warnx("%s > max gid value (%lu)", p, ULONG_MAX);
return (0);
}
if (flags & _PWSCAN_WARN && pw_big_ids_warning && id > USHRT_MAX) {