summaryrefslogtreecommitdiffstats
path: root/lib/skiplist.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 17:49:13 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 20:29:22 +0200
commit5c7571d43f57317b0827ac82fbebc4cdc6865be0 (patch)
tree2bc63ccbd805abc9689e9f3345e34871558d5c26 /lib/skiplist.c
parentlib: move \n vs. \r\n handling into vty code (diff)
downloadfrr-5c7571d43f57317b0827ac82fbebc4cdc6865be0.tar.xz
frr-5c7571d43f57317b0827ac82fbebc4cdc6865be0.zip
*: ditch vty_outln(), part 1 of 2
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/skiplist.c')
-rw-r--r--lib/skiplist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/skiplist.c b/lib/skiplist.c
index 5ba1c80e4..fd772b64c 100644
--- a/lib/skiplist.c
+++ b/lib/skiplist.c
@@ -602,9 +602,9 @@ skiplist_debug(struct vty *vty, struct skiplist *l)
if (!l)
l = skiplist_last_created;
- vty_outln (vty, "Skiplist %p has max level %d", l, l->level);
+ vty_out (vty, "Skiplist %p has max level %d\n", l, l->level);
for (i = l->level; i >= 0; --i)
- vty_outln (vty, " @%d: %ld",
+ vty_out (vty, " @%d: %ld\n",
i,(long)((l->stats->forward[i]) - (struct skiplistnode *)NULL));
}