From 708124f348a1eb0013723fb382ba4d4cc2b82b87 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Fri, 13 Mar 2009 13:30:14 -0700 Subject: [PATCH] Log error messages instead of calling printf. --- vswitchd/mgmt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vswitchd/mgmt.c b/vswitchd/mgmt.c index 22eaf7e8..1e8a05f4 100644 --- a/vswitchd/mgmt.c +++ b/vswitchd/mgmt.c @@ -319,7 +319,8 @@ send_resources_update(uint32_t xid, bool use_xid) struct ofmptsr_dp *dp_tlv; uint64_t dp_id = bridge_get_datapathid(br_list.names[i]); if (!dp_id) { - printf("xxx Bridge %s doesn't seem to exist!", br_list.names[i]); + VLOG_WARN_RL(&rl, "bridge %s doesn't seem to exist", + br_list.names[i]); continue; } dp_tlv = ofpbuf_put_zeros(buffer, sizeof(*dp_tlv)); -- 2.30.2