diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-05-18 23:27:57 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-05-18 23:27:57 +0200 |
commit | 2c3f72d038fa932b7a48454a0e1fc9af85540a76 (patch) | |
tree | 663d947bff57f3f721eec99c5a1c9b6a12b7435c /ax25/ax25d.8 | |
parent | 266ed524723b1d6a7d2b4c9d6fefd293b51629df (diff) |
rsparms: Fix harmless -Werror=format-security build error.
make[2]: Entering directory '/home/ralf/src/ax25/ax25-tools/rose'
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 rsparms.o -MD -MP -MF .deps/rsparms.Tpo -c -o rsparms.o rsparms.c
rsparms.c: In function ‘nodes’:
rsparms.c:71:3: error: format not a string literal and no format arguments [-Werror=format-security]
fprintf(stderr, nodes_usage);
^
rsparms.c:117:3: error: format not a string literal and no format arguments [-Werror=format-security]
fprintf(stderr, nodes_usage);
^
cc1: some warnings being treated as errors
Makefile:462: recipe for target 'rsparms.o' failed
make[2]: *** [rsparms.o] Error 1
make[2]: Leaving directory '/home/ralf/src/ax25/ax25-tools/rose'
The string is a constant in the application code itself so no security
issue
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25/ax25d.8')
0 files changed, 0 insertions, 0 deletions