]> err.no Git - dpkg/commitdiff
Use fprintf instead of warningf
authorGuillem Jover <guillem@debian.org>
Sun, 20 Jul 2008 14:16:35 +0000 (17:16 +0300)
committerGuillem Jover <guillem@debian.org>
Sun, 20 Jul 2008 14:34:01 +0000 (17:34 +0300)
The latter uses errno.

src/filters.c

index 88aeb719e3016a8044ed42b5c2c838805152b54c..b986f02373a28da8bb8b76009fd4baf7f28470f7 100644 (file)
@@ -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;
                }