Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2017 01:38:32 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r318390 - in stable: 10/contrib/ipfilter/lib 11/contrib/ipfilter/lib
Message-ID:  <201705170138.v4H1cWtC044537@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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