@cryptotaxi247 / netdata-1 / commits / 358dcd504

fix compiler warning about a printf format with wrong type

Costa Tsaousis committed Sep 9, 2016 at 19:16 UTC 358dcd504643b40c65326e73d2a1b0fa7768735b
1 file changed +2 -2
src/health.c
+2 -2
@@ -1918,14 +1918,14 @@ static inline void health_alarm_execute(RRDHOST *host, ALARM_ENTRY *ae) {
1918 const char *recipient = ae->recipient;
1919 if(!recipient) recipient = health_default_recipient;
1920
1921 - snprintfz(buffer, FILENAME_MAX, "exec %s '%s' '%s' '%u' '%u' '%u' '%zu' '%s' '%s' '%s' '%s' '%s' '%0.0Lf' '%0.0Lf' '%s' '%u' '%u' '%s' '%s'",
1921 + snprintfz(buffer, FILENAME_MAX, "exec %s '%s' '%s' '%u' '%u' '%u' '%lu' '%s' '%s' '%s' '%s' '%s' '%0.0Lf' '%0.0Lf' '%s' '%u' '%u' '%s' '%s'",
1922 exec,
1923 recipient,
1924 host->hostname,
1925 ae->unique_id,
1926 ae->alarm_id,
1927 ae->alarm_event_id,
1928 - ae->when,
1928 + (unsigned long)ae->when,
1929 ae->name,
1930 ae->chart?ae->chart:"NOCAHRT",
1931 ae->family?ae->family:"NOFAMILY",