summaryrefslogtreecommitdiffstats
path: root/lib/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/buffer.c')
-rw-r--r--lib/buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/buffer.c b/lib/buffer.c
index 45e2e1c50..b689549ed 100644
--- a/lib/buffer.c
+++ b/lib/buffer.c
@@ -322,7 +322,8 @@ buffer_flush_window (struct buffer *b, int fd, int width, int height,
/* This should absolutely never occur. */
zlog_err("%s: corruption detected: iov_small overflowed; "
"head %p, tail %p, head->next %p",
- __func__, b->head, b->tail, b->head->next);
+ __func__, (void *)b->head, (void *)b->tail,
+ (void *)b->head->next);
iov = XMALLOC(MTYPE_TMP, iov_alloc*sizeof(*iov));
memcpy(iov, small_iov, sizeof(small_iov));
}