summaryrefslogtreecommitdiffstats
path: root/lib/hash.c
diff options
context:
space:
mode:
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 fb6d96ca7..71f200d85 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