summaryrefslogtreecommitdiff
path: root/usr.bin/top
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/top
parent66b10192a6c1f61e3bd3d3645bf3178ae7844f41 (diff)
uid_t and gid_t are unsigned
Diffstat (limited to 'usr.bin/top')
-rw-r--r--usr.bin/top/username.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/top/username.c b/usr.bin/top/username.c
index 4178304e733..01ecd8046ef 100644
--- a/usr.bin/top/username.c
+++ b/usr.bin/top/username.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: username.c,v 1.5 2002/02/16 21:27:55 millert Exp $ */
+/* $OpenBSD: username.c,v 1.6 2002/06/23 03:07:22 deraadt Exp $ */
/*
* Top users/processes display for Unix
@@ -117,7 +117,7 @@ int wecare; /* 1 = enter it always, 0 = nice to have */
int hashindex;
#ifdef DEBUG
- fprintf(stderr, "enter_hash(%d, %s, %d)\n", uid, name, wecare);
+ fprintf(stderr, "enter_hash(%u, %s, %d)\n", uid, name, wecare);
#endif
hashindex = hashit(uid);