Add snprintf wrapper for GCC 8.2/3
[collectd.git] / src / notify_desktop.c
index 849b1d4..520a280 100644 (file)
@@ -93,7 +93,7 @@ static int c_notify(const notification_t *n,
     timeout = fail_timeout;
   }
 
-  snprintf(summary, sizeof(summary), "collectd %s notification",
+  ssnprintf(summary, sizeof(summary), "collectd %s notification",
            (NOTIF_FAILURE == n->severity)
                ? "FAILURE"
                : (NOTIF_WARNING == n->severity)