From f2ab33b6eb2dcc33305acd16de73f695a134b556 Mon Sep 17 00:00:00 2001 From: David Malone Date: Wed, 19 May 2004 21:06:36 +0000 Subject: [PATCH] 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(-) diff --git a/usr.bin/id/Makefile b/usr.bin/id/Makefile index 2d561cff6f44..715456839582 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 99f710b9818d..f8fba74c86e1 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",