diff --git a/src/smart.c b/src/smart.c
index 0e4e192c56579ecd7641c37eb31c8b07ad9da1a8..30680be6ed4b5d0565ea27a4a46c453e3f3c1051 100644 (file)
--- a/src/smart.c
+++ b/src/smart.c
sstrncpy(notif.host, hostname_g, sizeof(notif.host));
sstrncpy(notif.plugin_instance, name, sizeof(notif.plugin_instance));
sstrncpy(notif.type_instance, a->name, sizeof(notif.type_instance));
- ssnprintf(notif.message, sizeof(notif.message),
- "attribute %s is below allowed threshold (%d < %d)", a->name,
- a->current_value, a->threshold);
+ snprintf(notif.message, sizeof(notif.message),
+ "attribute %s is below allowed threshold (%d < %d)", a->name,
+ a->current_value, a->threshold);
plugin_dispatch_notification(¬if);
}
}