From 0070c296459dd3318b99125f803dc793fb8d72e7 Mon Sep 17 00:00:00 2001 From: jmccrohan Date: Sat, 19 May 2012 12:46:24 +0000 Subject: Mitigate format string exploits error: format not a string literal and no format arguments [-Werror=format-security] Signed-off-by: Jonathan McCrohan git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1189 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_PHAnderson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drv_PHAnderson.c') 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 */ -- cgit v1.2.3