summaryrefslogtreecommitdiffstats
path: root/watchfrr
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 17:49:13 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 20:29:22 +0200
commit5c7571d43f57317b0827ac82fbebc4cdc6865be0 (patch)
tree2bc63ccbd805abc9689e9f3345e34871558d5c26 /watchfrr
parentlib: move \n vs. \r\n handling into vty code (diff)
downloadfrr-5c7571d43f57317b0827ac82fbebc4cdc6865be0.tar.xz
frr-5c7571d43f57317b0827ac82fbebc4cdc6865be0.zip
*: ditch vty_outln(), part 1 of 2
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'watchfrr')
-rw-r--r--watchfrr/watchfrr_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/watchfrr/watchfrr_vty.c b/watchfrr/watchfrr_vty.c
index 819d896af..276e186c4 100644
--- a/watchfrr/watchfrr_vty.c
+++ b/watchfrr/watchfrr_vty.c
@@ -41,7 +41,7 @@ DEFUN(config_write_integrated,
sigset_t oldmask, sigmask;
if (integrated_write_pid != -1) {
- vty_outln (vty,"%% configuration write already in progress.");
+ vty_out (vty,"%% configuration write already in progress.\n");
return CMD_WARNING;
}
@@ -59,7 +59,7 @@ DEFUN(config_write_integrated,
child = fork();
if (child == -1) {
- vty_outln (vty, "%% configuration write fork() failed: %s.",
+ vty_out (vty, "%% configuration write fork() failed: %s.\n",
safe_strerror(errno));
sigprocmask(SIG_SETMASK, &oldmask, NULL);
return CMD_WARNING;