summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2011-09-07 03:20:21 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2011-09-07 03:20:21 (GMT)
commitf917244ab55917094bfe3bead0e905baad385821 (patch)
treef022af56c32cca382f553ffbd5a2638c4cb23449 /plugins
parent4d06603060fc1233861b164870f0d3a2e0d8d2eb (diff)
downloadmonitoring-plugins-f917244ab55917094bfe3bead0e905baad385821.tar.gz
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.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_radius.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_radius.c b/plugins/check_radius.c
index 61d84fb..c2c93ee 100644
--- a/plugins/check_radius.c
+++ b/plugins/check_radius.c
@@ -211,7 +211,7 @@ main (int argc, char **argv)
211 if (result == OK_RC) 211 if (result == OK_RC)
212 die (STATE_OK, _("Auth OK")); 212 die (STATE_OK, _("Auth OK"));
213 (void)snprintf(msg, sizeof(msg), _("Unexpected result code %d"), result); 213 (void)snprintf(msg, sizeof(msg), _("Unexpected result code %d"), result);
214 die (STATE_UNKNOWN, msg); 214 die (STATE_UNKNOWN, "%s", msg);
215} 215}
216 216
217 217