[ovs-dev] [ofp-print 05/15] ofp-util: Use proper format specifier for uint32_t in ofputil_lookup_openflow_message().

Ben Pfaff blp at nicira.com
Tue Dec 14 20:23:19 UTC 2010


---
 lib/ofp-util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index ad9d194..f0e0c69 100644
--- a/lib/ofp-util.c
+++ b/lib/ofp-util.c
@@ -362,7 +362,7 @@ ofputil_lookup_openflow_message(const struct ofputil_msg_category *cat,
         }
     }
 
-    VLOG_WARN_RL(&bad_ofmsg_rl, "received %s of unknown type %u",
+    VLOG_WARN_RL(&bad_ofmsg_rl, "received %s of unknown type %"PRIu32,
                  cat->name, value);
     return cat->missing_error;
 }
-- 
1.7.1





More information about the dev mailing list