summaryrefslogtreecommitdiff
path: root/lib/hash.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 19:42:42 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 10:20:03 +0200
commit55f70b671f064c315887ec9dd46382eefdc40b78 (patch)
tree0b82e487fc265a03ef83a8b7f87ceb701a3b4c35 /lib/hash.c
parent61b7d449bd022b0455f148ee9187293a62afdfcb (diff)
*: remove VTYNL, part 4 of 6
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/hash.c')
-rw-r--r--lib/hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hash.c b/lib/hash.c
index fb6d96ca76..71f200d851 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -462,13 +462,13 @@ DEFUN(show_hash_stats,
vty_out (vty, "%s\n", underln);
vty_out (vty, "# allocated: %d\n", _hashes->count);
- vty_out (vty, "# named: %d%s\n", tt->nrows - 1, VTYNL);
+ vty_out (vty, "# named: %d\n\n", tt->nrows - 1);
if (tt->nrows > 1)
{
ttable_colseps (tt, 0, RIGHT, true, '|');
char *table = ttable_dump (tt, VTYNL);
- vty_out (vty, "%s%s", table, VTYNL);
+ vty_out (vty, "%s\n", table);
XFREE (MTYPE_TMP, table);
}
else