X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fsmap.c;h=0d757330552fd1b6758b11387b1d439bc2905de4;hb=28c5588e8e1a8d091c5d2275232c35f2968a97fa;hp=b81ac09c2509c46878c4c46eec1023ece877690f;hpb=57c8677b511908b3120df3cbf44244423cfefc34;p=sliver-openvswitch.git diff --git a/lib/smap.c b/lib/smap.c index b81ac09c2..0d7573305 100644 --- a/lib/smap.c +++ b/lib/smap.c @@ -15,7 +15,7 @@ #include #include "smap.h" -#include +#include #include "hash.h" #include "json.h" @@ -251,7 +251,7 @@ smap_sort(const struct smap *smap) SMAP_FOR_EACH (node, smap) { nodes[i++] = node; } - assert(i == n); + ovs_assert(i == n); qsort(nodes, n, sizeof *nodes, compare_nodes_by_key);