From a0716fcfdf388cbbd2c9cb622f48d4743f7f320b Mon Sep 17 00:00:00 2001 From: Artur Frysiak Date: Tue, 11 Apr 2006 16:27:05 +0000 Subject: [PATCH 1/1] - use %zu for size_t (thx malekith) Changed files: collectd-hddtemp.patch -> 1.1 --- collectd-hddtemp.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 collectd-hddtemp.patch diff --git a/collectd-hddtemp.patch b/collectd-hddtemp.patch new file mode 100644 index 0000000..6865c58 --- /dev/null +++ b/collectd-hddtemp.patch @@ -0,0 +1,11 @@ +--- collectd-3.8.4/src/hddtemp.c.wiget 2006-04-11 18:02:42.000000000 +0200 ++++ collectd-3.8.4/src/hddtemp.c 2006-04-11 18:02:49.000000000 +0200 +@@ -346,7 +346,7 @@ + + if ((entry = (hddname_t *) malloc (sizeof (hddname_t))) == NULL) + { +- syslog (LOG_ERR, "hddtemp: malloc (%u) == NULL", sizeof (hddname_t)); ++ syslog (LOG_ERR, "hddtemp: malloc (%zu) == NULL", sizeof (hddname_t)); + free (name); + continue; + } -- 2.43.0