From: Guillem Jover Date: Sun, 20 Jul 2008 14:16:35 +0000 (+0300) Subject: Use fprintf instead of warningf X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7728c4420d290c6d0722fbed68cb453662c4c66a;p=dpkg Use fprintf instead of warningf The latter uses errno. --- 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; }