svn commit: r305823 - head/usr.bin/sdiff

Ed Maste emaste at FreeBSD.org
Thu Sep 15 02:48:57 UTC 2016


Author: emaste
Date: Thu Sep 15 02:48:56 2016
New Revision: 305823
URL: https://svnweb.freebsd.org/changeset/base/305823

Log:
  sdiff: improve errx string
  
  errx() appends a newline so \n is superfluous. Also switch to lower case
  with no period for consistency with other errx strings.

Modified:
  head/usr.bin/sdiff/sdiff.c

Modified: head/usr.bin/sdiff/sdiff.c
==============================================================================
--- head/usr.bin/sdiff/sdiff.c	Thu Sep 15 01:58:12 2016	(r305822)
+++ head/usr.bin/sdiff/sdiff.c	Thu Sep 15 02:48:56 2016	(r305823)
@@ -488,7 +488,7 @@ binexec(char *diffprog, char *f1, char *
 	execv(diffprog, args);
 
 	/* If execv() fails, sdiff's execution will continue below. */
-	errx(1, "Could not execute diff process.\n");
+	errx(1, "could not execute diff process");
 }
 
 /*


More information about the svn-src-all mailing list