ofp-util: Use proper format specifier for uint32_t in ofputil_lookup_openflow_message().
authorBen Pfaff <blp@nicira.com>
Tue, 14 Dec 2010 00:20:06 +0000 (16:20 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 15 Dec 2010 17:48:18 +0000 (09:48 -0800)
lib/ofp-util.c

index ad9d19403dfe85c3cd7f30efae604a7069e42692..f0e0c69eb9cb8e8df457accf786701be6e4e3296 100644 (file)
@@ -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;
 }