[Toybox] [PATCH] Fix -Wformat-security errors.

enh enh at google.com
Mon Jan 4 14:34:03 PST 2016


047bcb8e7d37847b96dbf621ea22ff00e9541d32 makes ls valgrind-clean, but
only with CFG_TOYBOX_DEBUG. Turning that on enables printf argument
checking, which breaks the build for Android because of the tree-wide
enforcement of -Werror=format-security.
---
 lib/xwrap.c          | 2 +-
 toys/other/bzcat.c   | 4 ++--
 toys/other/hexedit.c | 2 +-
 toys/other/stat.c    | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)


-- 
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Android native code/tools questions? Mail me/drop by/add me as a reviewer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-Wformat-security-errors.patch
Type: text/x-patch
Size: 2513 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160104/e6db57d9/attachment-0002.bin>


More information about the Toybox mailing list