X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fmultipath.c;h=a6f549ca6715ff138710d4f92f6fb748eaeb0062;hb=a5ed8fe32cb3c996837c61af2e358fa34dc9936f;hp=4b9e4af965ba611722967c3d83c5007333e80e41;hpb=f74e7df7450d6c31caaad66fe8b1dc923e86e9a7;p=sliver-openvswitch.git diff --git a/lib/multipath.c b/lib/multipath.c index 4b9e4af96..a6f549ca6 100644 --- a/lib/multipath.c +++ b/lib/multipath.c @@ -63,7 +63,7 @@ multipath_from_openflow(const struct nx_action_multipath *nam, VLOG_WARN_RL(&rl, "unsupported algorithm %d", (int) mp->algorithm); return OFPERR_OFPBAC_BAD_ARGUMENT; } else if (mp->dst.n_bits < min_n_bits) { - VLOG_WARN_RL(&rl, "multipath action requires at least %zu bits for " + VLOG_WARN_RL(&rl, "multipath action requires at least %"PRIuSIZE" bits for " "%"PRIu32" links", min_n_bits, n_links); return OFPERR_OFPBAC_BAD_ARGUMENT; } @@ -189,7 +189,7 @@ multipath_algorithm(uint32_t hash, enum nx_mp_algorithm algorithm, return algorithm_iter_hash(hash, n_links, arg); } - NOT_REACHED(); + OVS_NOT_REACHED(); } /* Parses 's_' as a set of arguments to the "multipath" action and initializes