diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-05-18 23:23:54 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-05-18 23:23:54 +0200 |
commit | bcaf37adf6ee05abd9f30a56973d77fecd663ed5 (patch) | |
tree | ae56c76b30877cea6908758d3eed290a986ac3b6 /netrom/Makefile.am | |
parent | 7775a94753936c7c39b9084428d4e63de5715d8b (diff) |
m6pack: Fix harmless -Werror=format-security build error.
make[2]: Entering directory '/home/ralf/src/ax25/ax25-tools/6pack'
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 m6pack.o -MD -MP -MF .deps/m6pack.Tpo -c -o m6pack.o m6pack.c
m6pack.c: In function ‘main’:
m6pack.c:446:4: error: format not a string literal and no format arguments [-Werror=format-security]
fprintf(stderr, usage_string);
^
m6pack.c:452:3: error: format not a string literal and no format arguments [-Werror=format-security]
fprintf(stderr, usage_string);
^
m6pack.c:457:3: error: format not a string literal and no format arguments [-Werror=format-security]
fprintf(stderr, usage_string);
^
cc1: some warnings being treated as errors
Makefile:384: recipe for target 'm6pack.o' failed
make[2]: *** [m6pack.o] Error 1
make[2]: Leaving directory '/home/ralf/src/ax25/ax25-tools/6pack'
The string are constants in the application code itself so no security
issue.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'netrom/Makefile.am')
0 files changed, 0 insertions, 0 deletions