summaryrefslogtreecommitdiffstats
path: root/usr.bin/id
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2004-05-19 21:06:36 +0000
committerdwmalone <dwmalone@FreeBSD.org>2004-05-19 21:06:36 +0000
commit6ad6fb7431aff8fe6eedec26802ecd41dcb8b91f (patch)
treec8b97c77e89742bef09a5035949e0b8ad9091eb8 /usr.bin/id
parent720549589564b28a70878c62b08e93b68dd64122 (diff)
downloadFreeBSD-src-6ad6fb7431aff8fe6eedec26802ecd41dcb8b91f.zip
FreeBSD-src-6ad6fb7431aff8fe6eedec26802ecd41dcb8b91f.tar.gz
Add missing %s so that all of the usage message gets printed.
Bump WARNS to 6 while I'm here.
Diffstat (limited to 'usr.bin/id')
-rw-r--r--usr.bin/id/Makefile1
-rw-r--r--usr.bin/id/id.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/id/Makefile b/usr.bin/id/Makefile
index 2d561cf..7154568 100644
--- a/usr.bin/id/Makefile
+++ b/usr.bin/id/Makefile
@@ -2,6 +2,7 @@
# $FreeBSD$
PROG= id
+WARNS?= 6
LINKS= ${BINDIR}/id ${BINDIR}/groups
LINKS+= ${BINDIR}/id ${BINDIR}/whoami
MAN= id.1 groups.1 whoami.1
diff --git a/usr.bin/id/id.c b/usr.bin/id/id.c
index 99f710b..f8fba74 100644
--- a/usr.bin/id/id.c
+++ b/usr.bin/id/id.c
@@ -401,7 +401,7 @@ usage(void)
else if (iswhoami)
(void)fprintf(stderr, "usage: whoami\n");
else
- (void)fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n",
+ (void)fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n%s\n",
"usage: id [user]",
" id -G [-n] [user]",
" id -M",
OpenPOWER on IntegriCloud