]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
lnstat: dump to stdout, not stderr
authorPavel Šimerda <psimerda@redhat.com>
Mon, 13 Apr 2015 14:01:00 +0000 (16:01 +0200)
committerStephen Hemminger <shemming@brocade.com>
Mon, 20 Apr 2015 16:58:46 +0000 (09:58 -0700)
See also:

 * https://bugzilla.redhat.com/show_bug.cgi?id=736332

Signed-off-by: Pavel Šimerda <psimerda@redhat.com>
misc/lnstat.c

index 41e76fcfa82933f064d6d5dcd2def1e34fc8d45a..0385cbb5e30b906025dc72246998924e3bf497ba 100644 (file)
@@ -347,7 +347,7 @@ int main(int argc, char **argv)
 
        switch (mode) {
        case MODE_DUMP:
-               lnstat_dump(stderr, lnstat_files);
+               lnstat_dump(stdout, lnstat_files);
                break;
 
        case MODE_NORMAL: