diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-05 19:47:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-11-05 19:47:12 +0000 |
commit | 729d1044dff1a37a8d00e03d3f19c74752565099 (patch) | |
tree | 0cd3016ed45fbee61b111638e26bd9db17a1ed5c /usr.bin/ranlib | |
parent | 17eea8a2cf49255e994c2973180b2a95305dbe73 (diff) |
uid_t and gid_t are unsigned; nihilis@moral.addiction.com
Diffstat (limited to 'usr.bin/ranlib')
-rw-r--r-- | usr.bin/ranlib/build.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ranlib/build.c b/usr.bin/ranlib/build.c index abb0407aff5..b6a3e29096e 100644 --- a/usr.bin/ranlib/build.c +++ b/usr.bin/ranlib/build.c @@ -1,4 +1,4 @@ -/* $OpenBSD: build.c,v 1.3 1997/11/05 18:57:27 deraadt Exp $ */ +/* $OpenBSD: build.c,v 1.4 1997/11/05 19:47:11 deraadt Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -38,7 +38,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)build.c 5.3 (Berkeley) 3/12/91";*/ -static char rcsid[] = "$OpenBSD: build.c,v 1.3 1997/11/05 18:57:27 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: build.c,v 1.4 1997/11/05 19:47:11 deraadt Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -242,12 +242,12 @@ symobj() uid = getuid(); if (uid > USHRT_MAX) { - warnx("warning: uid %d truncated to %d", uid, USHRT_MAX); + warnx("warning: uid %u truncated to %u", uid, USHRT_MAX); uid = USHRT_MAX; } gid = getgid(); if (gid > USHRT_MAX) { - warnx("warning: gid %d truncated to %d", gid, USHRT_MAX); + warnx("warning: gid %u truncated to %u", gid, USHRT_MAX); gid = USHRT_MAX; } |