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/10/contrib/ipfilter/lib/ipf_perror.c
Directory Properties:
  stable/10/   (props changed)

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

Modified: stable/10/contrib/ipfilter/lib/ipf_perror.c
==============================================================================
--- stable/10/contrib/ipfilter/lib/ipf_perror.c Wed May 17 00:34:34 2017        
(r318389)
+++ stable/10/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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to