Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Sep 2016 02:48:56 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r305823 - head/usr.bin/sdiff
Message-ID:  <201609150248.u8F2murT048399@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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");
 }
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609150248.u8F2murT048399>