[ovs-dev] [PATCH monitor_cond V5 02/18] ovsdb: add conditions utilities to support monitor_cond

Ben Pfaff blp at ovn.org
Mon Mar 21 18:26:38 UTC 2016


On Fri, Mar 04, 2016 at 08:08:57AM +0000, Liran Schour wrote:
> Change ovsdb_condition to be a 3-element json array or a boolean value.
> Conditions utilities will be used later for conditional monitoring.
> 
> Signed-off-by: Liran Schour <lirans at il.ibm.com>

Compiler error building 32-bit:

../tests/test-ovsdb.c:979:43: error: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
        printf("condition %ld-%ld: %d\n", i, i + 1, res);
                          ~~~             ^
                          %zu
../tests/test-ovsdb.c:979:46: error: format specifies type 'long' but the argument has type 'unsigned int' [-Werror,-Wformat]
        printf("condition %ld-%ld: %d\n", i, i + 1, res);
                              ~~~            ^~~~~
                              %u



More information about the dev mailing list