From 0c16aeecaf389c8d7e11aaa82469ab645e7912e5 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 28 Sep 1997 16:40:38 +0000 Subject: Greg Stark's first round of patches. svn path=/trunk/; revision=1428 --- report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'report.c') diff --git a/report.c b/report.c index bcca5f64..a4032782 100644 --- a/report.c +++ b/report.c @@ -224,7 +224,7 @@ error (status, errnum, message, va_alist) fprintf (stderr, message, a1, a2, a3, a4, a5, a6, a7, a8); #endif - if (errnum) { + if (errnum && errnum != -1) { char *tmps = strerror(errnum); if (tmps) { fprintf (stderr, ": %s", tmps); -- cgit v1.2.3