commit | 34fd6c9b347a226c6fa04660ec35f08dd1bcb239 | [log] [tgz] |
---|---|---|
author | Ben Whitten <ben.whitten@gmail.com> | Wed Dec 30 13:05:58 2015 +0000 |
committer | Tom Rini <trini@konsulko.com> | Thu Jan 14 22:11:34 2016 -0500 |
tree | b49cf85a3fa910182ce7dc2508f00ccb8ade03d4 | |
parent | 19af8541a530cbddc6420e85847f4e9978e91e3f [diff] |
Fix GCC format-security errors and convert sprintfs. With format-security errors turned on, GCC picks up the use of sprintf with a format parameter not being a string literal. Simple uses of sprintf are also converted to use strcpy. Signed-off-by: Ben Whitten <ben.whitten@gmail.com> Acked-by: Wolfgang Denk <wd@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>