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); } /*