diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-21 03:10:57 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-06-29 17:31:28 +0000 |
| commit | 96ade3ed7716c89b8047a1c0ab3377985d461cf8 (patch) | |
| tree | 1c3061738c2c0027612b6cdb3e5d5eccb08587bf /lib/skiplist.c | |
| parent | 4d5f445750e01467898eee47796e80d808500d56 (diff) | |
*: use vty_outln
Saves 400 lines
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/skiplist.c')
| -rw-r--r-- | lib/skiplist.c | 7 |
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 * |
