summaryrefslogtreecommitdiff
path: root/usr.sbin/user
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2011-12-30 08:39:03 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2011-12-30 08:39:03 +0000
commit054f7b9f2fe14def3e5aeb89697bf8cd094e4dcf (patch)
tree83428a574c87b25d4601f6f3ab23a6541877ceb6 /usr.sbin/user
parent8ff3d601def0d3d9e5bba66d4cd7aa2f832dcb64 (diff)
Fix a warning.
inputs from and ok miod@
Diffstat (limited to 'usr.sbin/user')
-rw-r--r--usr.sbin/user/user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/user/user.c b/usr.sbin/user/user.c
index 1a8841aa6d7..1a51f038ff0 100644
--- a/usr.sbin/user/user.c
+++ b/usr.sbin/user/user.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: user.c,v 1.84 2011/12/27 08:29:38 ajacoutot Exp $ */
+/* $OpenBSD: user.c,v 1.85 2011/12/30 08:39:02 ajacoutot Exp $ */
/* $NetBSD: user.c,v 1.69 2003/04/14 17:40:07 agc Exp $ */
/*
@@ -1524,7 +1524,7 @@ moduser(char *login_name, char *newlogin, user_t *up)
(void) close(ptmpfd);
pw_abort();
errx(EXIT_FAILURE, "can't add `%s', "
- "line too long (%d bytes)", buf,
+ "line too long (%zu bytes)", buf,
len + expand_len(pwp->pw_gecos,
newlogin));
}