iproute/iproute2-2.6.39-lnstat-dump-to-stdout.patch

14 lines
330 B
Diff
Raw Normal View History

diff --git a/misc/lnstat.c b/misc/lnstat.c
index 32ab6a4..431bfc7 100644
--- a/misc/lnstat.c
+++ b/misc/lnstat.c
@@ -322,7 +322,7 @@ int main(int argc, char **argv)
int i;
struct table_hdr *header;
case MODE_DUMP:
- lnstat_dump(stderr, lnstat_files);
+ lnstat_dump(stdout, lnstat_files);
break;
case MODE_NORMAL: