From 0abbd0157a2137cf1d42af6e72fb31b431d29e60 Mon Sep 17 00:00:00 2001 From: cy Date: Wed, 17 May 2017 01:38:32 +0000 Subject: 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. --- contrib/ipfilter/lib/ipf_perror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1