From 33f163a76eba692ec9e4f97bb1bf02817a783370 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 1 Dec 2008 21:26:57 -0800 Subject: [PATCH] Add missing "%s" to VLOG_WARN_RL call. Thanks to Justin for pointing out the problem. --- lib/vconn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vconn.c b/lib/vconn.c index e9e57d7f..e630258b 100644 --- a/lib/vconn.c +++ b/lib/vconn.c @@ -319,7 +319,7 @@ vcs_recv_hello(struct vconn *vconn) struct ds msg = DS_EMPTY_INITIALIZER; ds_put_format(&msg, "%s: extra-long hello:\n", vconn->name); ds_put_hex_dump(&msg, b->data, b->size, 0, true); - VLOG_WARN_RL(&rl, ds_cstr(&msg)); + VLOG_WARN_RL(&rl, "%s", ds_cstr(&msg)); ds_destroy(&msg); } -- 2.30.2