From 26ce77057c0fb9255d6023330ebe8c6694c16b7d Mon Sep 17 00:00:00 2001 From: Jarno Rajahalme Date: Fri, 14 Jun 2013 17:09:34 +0300 Subject: [PATCH] odp-util: Use proper formatting for ODP port number. Signed-off-by: Jarno Rajahalme Signed-off-by: Ben Pfaff --- lib/odp-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/odp-util.c b/lib/odp-util.c index acd1a9d56..588b3b66c 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -371,7 +371,7 @@ format_odp_action(struct ds *ds, const struct nlattr *a) switch (type) { case OVS_ACTION_ATTR_OUTPUT: - ds_put_format(ds, "%"PRIu16, nl_attr_get_u32(a)); + ds_put_format(ds, "%"PRIu32, nl_attr_get_u32(a)); break; case OVS_ACTION_ATTR_USERSPACE: format_odp_userspace_action(ds, a); -- 2.43.0