From dd0a882be48a339bf37f28362af3fe40ca1259b9 Mon Sep 17 00:00:00 2001 From: Oliver Smeeton <65131041+OliverSmeeton@users.noreply.github.com> Date: Tue, 31 Aug 2021 17:10:50 +0100 Subject: [PATCH] Fix compile Error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed: uwufetch.c: In function ‘print_ascii’: uwufetch.c:732:10: warning: format not a string literal and no format arguments [-Wformat-security] 732 | printf(line); | ^~~~ by adding string argument to printf --- uwufetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uwufetch.c b/uwufetch.c index 5c7c816..b5b79ef 100644 --- a/uwufetch.c +++ b/uwufetch.c @@ -729,7 +729,7 @@ void print_ascii() replace(line, "{LPINK}", LPINK); // For manjaro replace(line, "{BACKGROUND_GREEN}", "\e[0;42m"); - printf(line); + printf("%s", line); } // Always set color to NORMAL, so there's no need to do this in every ascii file. printf(NORMAL);