summaryrefslogtreecommitdiffstats
path: root/chpass/chpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'chpass/chpass.c')
-rw-r--r--chpass/chpass.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/chpass/chpass.c b/chpass/chpass.c
index 69e700f..f10a9d6 100644
--- a/chpass/chpass.c
+++ b/chpass/chpass.c
@@ -173,7 +173,8 @@ main(argc, argv)
#else
case 0:
if (!(pw = getpwuid(uid)))
- errx(1, "unknown user: uid %u", uid);
+ errx(1, "unknown user: uid %lu",
+ (unsigned long)uid);
break;
case 1:
if (!(pw = getpwnam(*argv)))