Skip to content
Permalink
Browse files

Merge pull request #2878 from pguibert6WIND/fix_show_error_all

lib: fix show error all
  • Loading branch information...
donaldsharp committed Aug 21, 2018
2 parents f8a5233 + b2111f0 commit 8732a8edd76b4fb72d2b8b2b044be397fb1f6f21
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ferr.c
@@ -146,7 +146,7 @@ void log_ref_display(struct vty *vty, uint32_t code, bool json)
char ubuf[256];

snprintf(pbuf, sizeof(pbuf), "\nError %"PRIu32" - %s",
code, ref->title);
ref->code, ref->title);
memset(ubuf, '=', strlen(pbuf));
ubuf[sizeof(ubuf) - 1] = '\0';

0 comments on commit 8732a8e

Please sign in to comment.
You can’t perform that action at this time.