summaryrefslogtreecommitdiffstats
path: root/bfdd/control.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2020-01-21 15:02:41 +0100
committerDavid Lamparter <equinox@diac24.net>2020-01-21 16:35:00 +0100
commitb7b3d466eb9dc631753d6ddc0b32d5a7ad1ded8f (patch)
treeeb3c0ee228b1c2444d0364eedabbfc2fdba91e57 /bfdd/control.c
parentbfdd: remove logging shim (diff)
downloadfrr-b7b3d466eb9dc631753d6ddc0b32d5a7ad1ded8f.tar.xz
frr-b7b3d466eb9dc631753d6ddc0b32d5a7ad1ded8f.zip
bfdd: fix format strings
... now that we get warnings about them ... Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to '')
-rw-r--r--bfdd/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfdd/control.c b/bfdd/control.c
index 5c5421c04..cf821f45b 100644
--- a/bfdd/control.c
+++ b/bfdd/control.c
@@ -471,7 +471,7 @@ static int control_read(struct thread *t)
bcb->bcb_buf = XMALLOC(MTYPE_BFDD_NOTIFICATION,
sizeof(bcm) + bcb->bcb_left + 1);
if (bcb->bcb_buf == NULL) {
- log_warning("%s: not enough memory for message size: %u",
+ log_warning("%s: not enough memory for message size: %zu",
__func__, bcb->bcb_left);
control_free(bcs);
return 0;