commit | c2b26cb83d9bf3f91e986625efcc40fc8eb79a13 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Thu Feb 23 13:04:26 2012 -0800 |
committer | Nick Kralevich <nnk@google.com> | Thu Feb 23 14:50:29 2012 -0800 |
tree | b7e558b58713fd3d81c961d248000ca7adf20091 | |
parent | 0a379691e04700b3b44948450b1e3db92ef2ec01 [diff] |
BandwidthController: fix format string bugs In 876666947664c718a8d0cae9bbddb06cc91f912c, a new %s was added to ALERT_IPT_TEMPLATE. Not all users of this string were updated. This change modifies ALERT_IPT_TEMPLATE to be a #define, which allows gcc's format string detection work. Add -Werror=format to error out on any string format warning. Testing: Code compiles. I don't know how to test this change properly. Bug: 5948299 Change-Id: I0ec307972e6bf50abd8ba099166c22069a6c6580