aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/cmp.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-03-01 16:35:05 -0600
committerRob Landley <rob@landley.net>2015-03-01 16:35:05 -0600
commiteb4b1143b1f54a96002a83ea961d40d3169e1ae2 (patch)
tree27992d2fd018b7577fd82e985dc4904e5a1271c3 /toys/posix/cmp.c
parent1be99e695059ba7dbe44765f4b477f7e173e98d1 (diff)
downloadtoybox-eb4b1143b1f54a96002a83ea961d40d3169e1ae2.tar.gz
Only switch on printf format warnings for error_exit() and friends when TOYBOX_DEBUG enabled.
One again gcc manages to be incompetent about producing warnings. For example, in bzcat we error_exit() with a message that's an error code fed into an array of string constants, and apparently dereferencing an array of string literals doesn't give you a string literal according to -Wformat-security. Not breaking the code to humor the compiler here, the compiler is wrong.
Diffstat (limited to 'toys/posix/cmp.c')
0 files changed, 0 insertions, 0 deletions