Skip to content

Commit

Permalink
odp-util: Use proper formatting for ODP port number.
Browse files Browse the repository at this point in the history
Signed-off-by: Jarno Rajahalme <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
Jarno Rajahalme authored and blp committed Jun 14, 2013
1 parent 09d4472 commit 980cef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/odp-util.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,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);
Expand Down

0 comments on commit 980cef9

Please sign in to comment.