iproute/iproute2-3.19.0-lnstat-stdout.patch

34 lines
831 B
Diff
Raw Normal View History

2015-04-09 13:41:57 +00:00
From 740b484db02f2398499e7953e08a50c4b708613b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20=C5=A0imerda?= <psimerda@redhat.com>
Date: Fri, 13 Mar 2015 13:17:02 +0100
Subject: [PATCH 6/7] lnstat: dump to stdout, not stderr
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
See also:
* https://bugzilla.redhat.com/show_bug.cgi?id=736332
Signed-Off-By: Pavel Šimerda <psimerda@redhat.com>
---
misc/lnstat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc/lnstat.c b/misc/lnstat.c
index 32b5cbe..e105b70 100644
--- a/misc/lnstat.c
+++ b/misc/lnstat.c
@@ -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:
--
2.0.5