diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-18 09:13:37 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 20:02:05 +0000 |
| commit | 472878dc0fdd5e17500e8a6ba8a65d13e36d9467 (patch) | |
| tree | e92ddabd91c15d6b465e577d09216c3207ed907e /lib/buffer.c | |
| parent | 674c3ca8a837bf732a6a6062bea23a3ec745d971 (diff) | |
lib: Add LIB_ERR_DEVELOPMENT
Sometimes a error state is detected when we have added
new code to FRR, but not updated all the places that
we should have. Consider this a developmental escape
that needs to be fixed.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/buffer.c')
| -rw-r--r-- | lib/buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/buffer.c b/lib/buffer.c index 207f2320ff..acdaf07bbc 100644 --- a/lib/buffer.c +++ b/lib/buffer.c @@ -458,9 +458,9 @@ in one shot. */ while (written > 0) { struct buffer_data *d; if (!(d = b->head)) { - zlog_err( - "%s: corruption detected: buffer queue empty, " - "but written is %lu", + zlog_ferr( + LIB_ERR_DEVELOPMENT, + "%s: corruption detected: buffer queue empty, but written is %lu", __func__, (unsigned long)written); break; } |
