summaryrefslogtreecommitdiff
path: root/lib/skiplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/skiplist.c')
-rw-r--r--lib/skiplist.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/skiplist.c b/lib/skiplist.c
index 05f489c905..5ba1c80e45 100644
--- a/lib/skiplist.c
+++ b/lib/skiplist.c
@@ -602,11 +602,10 @@ skiplist_debug(struct vty *vty, struct skiplist *l)
if (!l)
l = skiplist_last_created;
- vty_out(vty, "Skiplist %p has max level %d%s", l, l->level, VTY_NEWLINE);
+ vty_outln (vty, "Skiplist %p has max level %d", l, l->level);
for (i = l->level; i >= 0; --i)
- vty_out(vty, " @%d: %ld%s",
- i, (long)((l->stats->forward[i]) - (struct skiplistnode *)NULL),
- VTY_NEWLINE);
+ vty_outln (vty, " @%d: %ld",
+ i,(long)((l->stats->forward[i]) - (struct skiplistnode *)NULL));
}
static void *