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 1ba7b9a204..810d9fda78 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, VTY_NEWLINE);
+ printf ("%s did %d, x = %g%s", str, i, x, VTYNL);
}
static void
@@ -88,7 +88,7 @@ DEFUN (clear_foo,
char *str;
if (!argc)
{
- vty_out (vty, "%% string argument required%s", VTY_NEWLINE);
+ vty_outln (vty, "%% string argument required");
return CMD_WARNING;
}