summaryrefslogtreecommitdiff
path: root/usr.bin/skeyinit
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-23 03:07:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-23 03:07:23 +0000
commitb2e9efd3fb05b85dc11b3ea795320abfc2e86feb (patch)
treec4b3addfcfb980cd851b897d097c156230fd7a41 /usr.bin/skeyinit
parent66b10192a6c1f61e3bd3d3645bf3178ae7844f41 (diff)
uid_t and gid_t are unsigned
Diffstat (limited to 'usr.bin/skeyinit')
-rw-r--r--usr.bin/skeyinit/skeyinit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/skeyinit/skeyinit.c b/usr.bin/skeyinit/skeyinit.c
index 00b7547c259..a85728a349d 100644
--- a/usr.bin/skeyinit/skeyinit.c
+++ b/usr.bin/skeyinit/skeyinit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: skeyinit.c,v 1.39 2002/06/07 21:53:43 millert Exp $ */
+/* $OpenBSD: skeyinit.c,v 1.40 2002/06/23 03:07:22 deraadt Exp $ */
/* OpenBSD S/Key (skeyinit.c)
*
@@ -80,7 +80,7 @@ main(int argc, char **argv)
*p = '\0';
if ((pp = getpwuid(getuid())) == NULL)
- err(1, "no user with uid %d", getuid());
+ err(1, "no user with uid %u", getuid());
(void)strcpy(me, pp->pw_name);
if ((pp = getpwnam(me)) == NULL)