zabbix70: 7.0.7 -> 7.0.8 (#374091)
[NixPkgs.git] / pkgs / by-name / fr / freesweep / 0002-fix-Wformat-security.patch
blobb37f0e7420ce71c92abad3891b86556bf14d9194
1 diff --git a/logs.c b/logs.c
2 index 5e87f52..29ad433 100644
3 --- a/logs.c
4 +++ b/logs.c
5 @@ -128,7 +128,7 @@ static void log_display(const char *mesg) {
6 // Display the message on the screen.
7 if (log_win) {
8 wclear(log_win);
9 - mvwprintw(log_win, 0, 0, mesg);
10 + mvwprintw(log_win, 0, 0, "%s", mesg);
11 wnoutrefresh(log_win);
12 wrefresh(log_win);