summaryrefslogtreecommitdiff
path: root/regress/lib/libpthread
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-23 03:11:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-23 03:11:10 +0000
commit1448160e154647504f544fa6bf8817750424a662 (patch)
tree3ef913327cc788bc1c94e2ec888912d3edead169 /regress/lib/libpthread
parentb2e9efd3fb05b85dc11b3ea795320abfc2e86feb (diff)
more gid_t and uid_t are unsigned
Diffstat (limited to 'regress/lib/libpthread')
-rw-r--r--regress/lib/libpthread/pw/pw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/lib/libpthread/pw/pw.c b/regress/lib/libpthread/pw/pw.c
index fc7beec4963..bc9ced3b0ce 100644
--- a/regress/lib/libpthread/pw/pw.c
+++ b/regress/lib/libpthread/pw/pw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pw.c,v 1.1 2001/08/15 14:37:12 fgsch Exp $ */
+/* $OpenBSD: pw.c,v 1.2 2002/06/23 03:11:09 deraadt Exp $ */
/*
* Copyright (c) 1993, 1994, 1995, 1996 by Chris Provenzano and contributors,
* proven@mit.edu All rights reserved.
@@ -47,8 +47,8 @@ main()
char name[16];
CHECKn(pw = getpwuid(getuid()));
- printf("getpwuid(%d) => %p\n", getuid(), pw);
- printf(" name: %s\n uid: %d\n gid: %d\n"
+ printf("getpwuid(%u) => %p\n", getuid(), pw);
+ printf(" name: %s\n uid: %u\n gid: %u\n"
"class: %s\ngecos: %s\n dir: %s\nshell: %s\n",
pw->pw_name, pw->pw_uid, pw->pw_gid,
pw->pw_class, pw->pw_gecos, pw->pw_dir, pw->pw_shell);