summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vtysh/vtysh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 21280ec7aa..4a03b4ffd7 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -707,7 +707,7 @@ int vtysh_mark_file(const char *filename)
}
vty = vty_new();
- vty->wfd = STDERR_FILENO;
+ vty->wfd = STDOUT_FILENO;
vty->type = VTY_TERM;
vty->node = CONFIG_NODE;