svn commit: r318390 - in stable: 10/contrib/ipfilter/lib 11/contrib/ipfilter/lib

Cy Schubert cy at FreeBSD.org
Wed May 17 01:38:33 UTC 2017


Author: cy
Date: Wed May 17 01:38:32 2017
New Revision: 318390
URL: https://svnweb.freebsd.org/changeset/base/318390

Log:
  MFC r318281:
  
  Separate the ipfilter function/static string from the error with a
  colon (:) in error messages to assist the user in parsing out the error
  from where or which object the error message refers to.

Modified:
  stable/11/contrib/ipfilter/lib/ipf_perror.c
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/contrib/ipfilter/lib/ipf_perror.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/11/contrib/ipfilter/lib/ipf_perror.c
==============================================================================
--- stable/11/contrib/ipfilter/lib/ipf_perror.c	Wed May 17 00:34:34 2017	(r318389)
+++ stable/11/contrib/ipfilter/lib/ipf_perror.c	Wed May 17 01:38:32 2017	(r318390)
@@ -10,7 +10,7 @@ ipf_perror(err, string)
 	if (err == 0)
 		fprintf(stderr, "%s\n", string);
 	else
-		fprintf(stderr, "%s %s\n", string, ipf_strerror(err));
+		fprintf(stderr, "%s: %s\n", string, ipf_strerror(err));
 }
 
 int


More information about the svn-src-all mailing list