summaryrefslogtreecommitdiffstats
path: root/rose
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-05-18 23:25:52 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-05-18 23:25:52 +0200
commit266ed524723b1d6a7d2b4c9d6fefd293b51629df (patch)
tree1b81447906fa3d9efdc91c0406cfd6a9dd4909b1 /rose
parentbcaf37adf6ee05abd9f30a56973d77fecd663ed5 (diff)
nrparms: Fix harmless -Werror=format-security build error.
make[2]: Entering directory '/home/ralf/src/ax25/ax25-tools/netrom' gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -MT nrparms.o -MD -MP -MF .deps/nrparms.Tpo -c -o nrparms.o nrparms.c nrparms.c: In function ‘main’: nrparms.c:213:4: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(stderr, nodes_usage); ^ nrparms.c:224:4: error: format not a string literal and no format arguments [-Werror=format-security] fprintf(stderr, routes_usage); ^ cc1: some warnings being treated as errors Makefile:438: recipe for target 'nrparms.o' failed make[2]: *** [nrparms.o] Error 1 make[2]: Leaving directory '/home/ralf/src/ax25/ax25-tools/netrom' The strings are constants in the application code itself so no security issue. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'rose')
0 files changed, 0 insertions, 0 deletions