summaryrefslogtreecommitdiffstats
path: root/lib/buffer.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-08-03 20:03:29 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commitaf4c27286d8eb3f347ff431a17a47a8d07cd8976 (patch)
treecaf5eae55c21f72baec4945cdb2cbc333d99f916 /lib/buffer.c
parentlib: remove still reachable blocks in ferr.c (diff)
downloadfrr-af4c27286d8eb3f347ff431a17a47a8d07cd8976.tar.xz
frr-af4c27286d8eb3f347ff431a17a47a8d07cd8976.zip
*: rename zlog_fer -> flog_err
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/buffer.c')
-rw-r--r--lib/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/buffer.c b/lib/buffer.c
index acdaf07bb..c292e4341 100644
--- a/lib/buffer.c
+++ b/lib/buffer.c
@@ -343,7 +343,7 @@ buffer_status_t buffer_flush_window(struct buffer *b, int fd, int width,
iov_alloc * sizeof(*iov));
} else {
/* This should absolutely never occur. */
- zlog_ferr(LIB_ERR_SYSTEM_CALL,
+ flog_err(LIB_ERR_SYSTEM_CALL,
"%s: corruption detected: iov_small overflowed; "
"head %p, tail %p, head->next %p",
__func__, (void *)b->head,
@@ -458,7 +458,7 @@ in one shot. */
while (written > 0) {
struct buffer_data *d;
if (!(d = b->head)) {
- zlog_ferr(
+ flog_err(
LIB_ERR_DEVELOPMENT,
"%s: corruption detected: buffer queue empty, but written is %lu",
__func__, (unsigned long)written);