From 6ad6fb7431aff8fe6eedec26802ecd41dcb8b91f Mon Sep 17 00:00:00 2001 From: dwmalone Date: Wed, 19 May 2004 21:06:36 +0000 Subject: Add missing %s so that all of the usage message gets printed. Bump WARNS to 6 while I'm here. --- usr.bin/id/Makefile | 1 + usr.bin/id/id.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin/id') 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", -- cgit v1.1