summaryrefslogtreecommitdiff
path: root/games/canfield/cfscores/cfscores.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-23 03:01:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-06-23 03:01:14 +0000
commit513871f2b2518f6347c3717a1758670a6bcfab87 (patch)
tree78eba3d449aaa141d8c4d95a41d8280ba188e5cf /games/canfield/cfscores/cfscores.c
parentf291c297a152f78ac417dbbce6730c0b69a1891f (diff)
uid_t and gid_t are unsigned
Diffstat (limited to 'games/canfield/cfscores/cfscores.c')
-rw-r--r--games/canfield/cfscores/cfscores.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/canfield/cfscores/cfscores.c b/games/canfield/cfscores/cfscores.c
index 3a274264540..54aa3c41820 100644
--- a/games/canfield/cfscores/cfscores.c
+++ b/games/canfield/cfscores/cfscores.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cfscores.c,v 1.8 2002/02/16 21:27:09 millert Exp $ */
+/* $OpenBSD: cfscores.c,v 1.9 2002/06/23 03:01:13 deraadt Exp $ */
/* $NetBSD: cfscores.c,v 1.3 1995/03/21 15:08:37 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)cfscores.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: cfscores.c,v 1.8 2002/02/16 21:27:09 millert Exp $";
+static char rcsid[] = "$OpenBSD: cfscores.c,v 1.9 2002/06/23 03:01:13 deraadt Exp $";
#endif
#endif /* not lint */
@@ -129,7 +129,7 @@ printuser(pw, printfail)
int i;
if (pw->pw_uid < 0) {
- printf("Bad uid %d\n", pw->pw_uid);
+ printf("Bad uid %u\n", pw->pw_uid);
return;
}
i = lseek(dbfd, pw->pw_uid * sizeof(struct betinfo), SEEK_SET);