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");
 }
 
 /*
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to