summaryrefslogtreecommitdiffstats
path: root/src/vty/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vty/buffer.c')
-rw-r--r--src/vty/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/buffer.c b/src/vty/buffer.c
index def2f522..e0abe813 100644
--- a/src/vty/buffer.c
+++ b/src/vty/buffer.c
@@ -299,7 +299,7 @@ buffer_flush_window(struct buffer * b, int fd, int width, int height,
zlog_warn("%s: growing iov array to %d; "
"width %d, height %d, size %lu",
__func__, iov_alloc, width, height,
- (u_long) b->size);
+ (unsigned long) b->size);
iov =
XREALLOC(MTYPE_TMP, iov,
iov_alloc * sizeof(*iov));