mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
Make GCC happy
It won't trust us about msg containing no format string, and fail miserably when compiled with -Werror=format-security. Reported by spy6 on IRC.
This commit is contained in:
parent
4d06603060
commit
f917244ab5
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ main (int argc, char **argv)
|
|||
if (result == OK_RC)
|
||||
die (STATE_OK, _("Auth OK"));
|
||||
(void)snprintf(msg, sizeof(msg), _("Unexpected result code %d"), result);
|
||||
die (STATE_UNKNOWN, msg);
|
||||
die (STATE_UNKNOWN, "%s", msg);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue