Add missing %s so that all of the usage message gets printed.

Bump WARNS to 6 while I'm here.
This commit is contained in:
dwmalone 2004-05-19 21:06:36 +00:00
parent 7205495895
commit 6ad6fb7431
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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",