From 43622c535f33a65f227295b600ef3229461e28d0 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 c4f2be8ec..7df5f2278 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -317,7 +317,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.20.1