diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-05-31 08:36:37 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-05-31 08:37:34 -0400 |
| commit | 1b3f6ff1f6851efca4aa22fb7bbf3c6717215833 (patch) | |
| tree | 7284d02443e0b5873a4770c99144f958ce0cce7e /lib/command.c | |
| parent | 918537e240c824d32e26e967a9f403a7169ed7d3 (diff) | |
lib: Fix gcc 9 warning -> error issue
gcc is complaing about this with --enable-dev and --enable-werror:
In function 'nb_log_callback',
inlined from 'nb_transaction_apply_finish' at lib/northbound.c:1106:4:
lib/northbound.c:777:2: error: '%s' directive argument is null [-Werror=format-overflow=]
777 | zlog_debug(
| ^~~~~~~~~~~
778 | "northbound callback: event [%s] op [%s] xpath [%s] value [%s]",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
779 | nb_event_name(event), nb_operation_name(operation), xpath,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
780 | value);
| ~~~~~~
CC lib/ringbuf.lo
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions
