From 7728c4420d290c6d0722fbed68cb453662c4c66a Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 20 Jul 2008 17:16:35 +0300 Subject: [PATCH] Use fprintf instead of warningf The latter uses errno. --- src/filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filters.c b/src/filters.c index 88aeb719..b986f023 100644 --- a/src/filters.c +++ b/src/filters.c @@ -70,7 +70,7 @@ loadfilter(const char *fn) else if (linebuf[0] == '-') filter->positive = 0; else { - warningf(_("invalid filter line: '%.255s'"), linebuf); + fprintf(stderr, _("invalid filter line: '%.255s'"), linebuf); free(filter); continue; } -- 2.39.5