diff options
author | jmccrohan <jmccrohan@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2012-05-19 12:46:24 +0000 |
---|---|---|
committer | jmccrohan <jmccrohan@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2012-05-19 12:46:24 +0000 |
commit | 0070c296459dd3318b99125f803dc793fb8d72e7 (patch) | |
tree | 92526cfaaa236c9c42bd5e4a1083b2144ab06ee4 /drv_PHAnderson.c | |
parent | b0fd4a338357d019583624a1b346c3a7cd798f8f (diff) | |
download | lcd4linux-0070c296459dd3318b99125f803dc793fb8d72e7.tar.gz |
Mitigate format string exploits
error: format not a string literal and no format arguments
[-Werror=format-security]
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1189 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_PHAnderson.c')
-rw-r--r-- | drv_PHAnderson.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drv_PHAnderson.c b/drv_PHAnderson.c index 667d0b0..4cf618b 100644 --- a/drv_PHAnderson.c +++ b/drv_PHAnderson.c @@ -267,7 +267,7 @@ static int drv_PHAnderson_start(const char *section) } s = cfg_get(section, "Bootscreen", NULL); - printf(s); + printf("%s", s); drv_PHAnderson_bootscreen(s); drv_PHAnderson_clear(); /* clear display */ |