summaryrefslogtreecommitdiff
path: root/tests/lib/test_heavy.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/test_heavy.c')
-rw-r--r--tests/lib/test_heavy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/test_heavy.c b/tests/lib/test_heavy.c
index 810d9fda78..c6f6bbba2a 100644
--- a/tests/lib/test_heavy.c
+++ b/tests/lib/test_heavy.c
@@ -63,7 +63,7 @@ slow_func (struct vty *vty, const char *str, const int i)
printf ("%s: hard error\n", __func__);
if ((i % ITERS_PRINT) == 0)
- printf ("%s did %d, x = %g%s", str, i, x, VTYNL);
+ printf ("%s did %d, x = %g\n", str, i, x);
}
static void
@@ -88,7 +88,7 @@ DEFUN (clear_foo,
char *str;
if (!argc)
{
- vty_outln (vty, "%% string argument required");
+ vty_out (vty, "%% string argument required\n");
return CMD_WARNING;
}