projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
304ff22
)
Use "%zu" to print size_t, not "%"PRIu16.
author
Ben Pfaff
<blp@nicira.com>
Thu, 20 Nov 2008 17:53:27 +0000
(09:53 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 20 Nov 2008 17:53:27 +0000
(09:53 -0800)
lib/ofp-print.c
patch
|
blob
|
history
diff --git
a/lib/ofp-print.c
b/lib/ofp-print.c
index 96dd4c6af74d59d326b8c23f5dc7cdb8a4950245..c3c1c711fff100b18e3d70bbb28a28aab6795609 100644
(file)
--- a/
lib/ofp-print.c
+++ b/
lib/ofp-print.c
@@
-342,8
+342,7
@@
ofp_print_action(struct ds *string, const struct ofp_action_header *ah,
const struct openflow_action *act = &of_actions[type];
if ((len < act->min_size) || (len > act->max_size)) {
ds_put_format(string,
- "***action %"PRIu16" wrong length: %"PRIu16"***\n",
- type, len);
+ "***action %"PRIu16" wrong length: %zu***\n", type, len);
return -1;
}
}