aboutsummaryrefslogtreecommitdiffstats
path: root/report.c
diff options
context:
space:
mode:
Diffstat (limited to 'report.c')
-rw-r--r--report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/report.c b/report.c
index b986ff28..daa7e5ce 100644
--- a/report.c
+++ b/report.c
@@ -216,7 +216,7 @@ report (FILE *errfp, errnum, message, va_alist)
fprintf (errfp, message, a1, a2, a3, a4, a5, a6, a7, a8);
#endif
- if (errnum && errnum != -1) {
+ if (errnum) {
char *tmps = strerror(errnum);
if (tmps) {
fprintf (errfp, ": %s", tmps);