Files
nixpkgs/pkgs/by-name/fr/freesweep/0002-fix-Wformat-security.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
367 B
Diff
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
diff --git a/logs.c b/logs.c
index 5e87f52..29ad433 100644
--- a/logs.c
+++ b/logs.c
@@ -128,7 +128,7 @@ static void log_display(const char *mesg) {
// Display the message on the screen.
if (log_win) {
wclear(log_win);
- mvwprintw(log_win, 0, 0, mesg);
+ mvwprintw(log_win, 0, 0, "%s", mesg);
wnoutrefresh(log_win);
wrefresh(log_win);
}