From 37e2d2e69598602352358c40681fa26901e7e692 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Sun, 14 May 2017 21:18:01 +0000 Subject: [PATCH] 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. MFC after: 3 days --- 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 85a1b1d66e2e..08e31648b053 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