diff options
| author | Jesse Gross <jesse@nicira.com> | 2010-12-11 22:53:34 -0800 |
|---|---|---|
| committer | Jesse Gross <jesse@nicira.com> | 2010-12-13 11:07:15 -0800 |
| commit | e5fccb40da338a68fd6360e4de1d65a526c9d1d1 (patch) | |
| tree | 4a50fa23695e87509df6d450d3edebd6865f916f /lib/nx-match.c | |
| parent | cf22f8cba328c0fb47a7e6811563f773fc232904 (diff) | |
| download | openvswitch-e5fccb40da338a68fd6360e4de1d65a526c9d1d1.tar.gz | |
nx-match: Use correct printf format specifiers.
A few of the printf format specifiers didn't match the type that
they were printing. On 32-bit platforms there is some overlap
but on 64-bit they cause a mismatch.
Diffstat (limited to 'lib/nx-match.c')
| -rw-r--r-- | lib/nx-match.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nx-match.c b/lib/nx-match.c index 764ec61d2..c1d8fa84e 100644 --- a/lib/nx-match.c +++ b/lib/nx-match.c @@ -395,7 +395,7 @@ nx_pull_match(struct ofpbuf *b, unsigned int match_len, uint16_t priority, p = ofpbuf_try_pull(b, ROUND_UP(match_len, 8)); if (!p) { - VLOG_DBG_RL(&rl, "nx_match length %zu, rounded up to a " + VLOG_DBG_RL(&rl, "nx_match length %u, rounded up to a " "multiple of 8, is longer than space in message (max " "length %zu)", match_len, b->size); return ofp_mkerr(OFPET_BAD_REQUEST, OFPBRC_BAD_LEN); @@ -921,7 +921,7 @@ nxm_parse_reg_load(struct nx_action_reg_load *load, const char *s) } if (n_bits < 64 && (value >> n_bits) != 0) { - ovs_fatal(0, "%s: value %llu does not fit into %d bits", + ovs_fatal(0, "%s: value %"PRIu64" does not fit into %d bits", full_s, value, n_bits); } |
