From: Ben Pfaff Date: Tue, 2 Dec 2008 05:26:57 +0000 (-0800) Subject: Add missing "%s" to VLOG_WARN_RL call. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33f163a76eba692ec9e4f97bb1bf02817a783370;p=openvswitch Add missing "%s" to VLOG_WARN_RL call. Thanks to Justin for pointing out the problem. --- 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); }