summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2017-05-17 01:38:32 +0000
committercy <cy@FreeBSD.org>2017-05-17 01:38:32 +0000
commit0abbd0157a2137cf1d42af6e72fb31b431d29e60 (patch)
treef38f26c9711418054353fe72a7e36594b19ec49f
parente497ab1e8b650dd72702209eae2fcd2d1631f5fd (diff)
downloadFreeBSD-src-0abbd0157a2137cf1d42af6e72fb31b431d29e60.zip
FreeBSD-src-0abbd0157a2137cf1d42af6e72fb31b431d29e60.tar.gz
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.
-rw-r--r--contrib/ipfilter/lib/ipf_perror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ipfilter/lib/ipf_perror.c b/contrib/ipfilter/lib/ipf_perror.c
index 85a1b1d..08e3164 100644
--- a/contrib/ipfilter/lib/ipf_perror.c
+++ b/contrib/ipfilter/lib/ipf_perror.c
@@ -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
OpenPOWER on IntegriCloud