svn commit: r357362 - head/bin/pwait

Pawel Jakub Dawidek pjd at FreeBSD.org
Sat Feb 1 09:13:12 UTC 2020


Author: pjd
Date: Sat Feb  1 09:13:11 2020
New Revision: 357362
URL: https://svnweb.freebsd.org/changeset/base/357362

Log:
  Restore previous usage presentation (without "pwait: " prefix).
  
  Pointed out by:	jilles

Modified:
  head/bin/pwait/pwait.c

Modified: head/bin/pwait/pwait.c
==============================================================================
--- head/bin/pwait/pwait.c	Sat Feb  1 06:46:55 2020	(r357361)
+++ head/bin/pwait/pwait.c	Sat Feb  1 09:13:11 2020	(r357362)
@@ -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);
 }
 
 /*


More information about the svn-src-all mailing list