diff --git a/src/notify_nagios.c b/src/notify_nagios.c
index c95f7cb99bf1ab139670a85ccd1e2b51c603d5ff..f744d486156bfba6255fae5a10ee4d1c89750639 100644 (file)
--- a/src/notify_nagios.c
+++ b/src/notify_nagios.c
break;
}
- ssnprintf(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);
+ 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);
return nagios_print(buffer);
} /* }}} int nagios_notify */