From ce88a7c18d249f251afb7d0351e8015bf8db104a Mon Sep 17 00:00:00 2001 From: pjd Date: Sat, 1 Feb 2020 09:13:11 +0000 Subject: [PATCH] Restore previous usage presentation (without "pwait: " prefix). Pointed out by: jilles --- bin/pwait/pwait.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/pwait/pwait.c b/bin/pwait/pwait.c index 4c21984de3f9..900bc96d0025 100644 --- a/bin/pwait/pwait.c +++ b/bin/pwait/pwait.c @@ -53,7 +53,8 @@ static void usage(void) { - errx(EX_USAGE, "usage: pwait [-t timeout] [-ov] pid ..."); + fprintf(stderr, "usage: pwait [-t timeout] [-ov] pid ...\n"); + exit(EX_USAGE); } /*