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 ad9d194..f0e0c69 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;
 }