Treewide: replace ssnprintf with snprintf
[collectd.git] / src / notify_nagios.c
index 1351691..bea0faa 100644 (file)
@@ -141,7 +141,7 @@ static int nagios_notify(const notification_t *n, /* {{{ */
     break;
   }
 
-  ssnprintf(buffer, sizeof(buffer),
+  snprintf(buffer, sizeof(buffer),
             "[%.0f] PROCESS_SERVICE_CHECK_RESULT;%s;%s;%d;%s\n",
             CDTIME_T_TO_DOUBLE(n->time), n->host, &svc_description[1], code,
             n->message);
@@ -153,5 +153,3 @@ void module_register(void) {
   plugin_register_complex_config("notify_nagios", nagios_config);
   plugin_register_notification("notify_nagios", nagios_notify, NULL);
 } /* void module_register (void) */
-
-/* vim: set sw=2 sts=2 ts=8 et : */