]> git.pld-linux.org Git - packages/collectd.git/blobdiff - collectd-hddtemp.patch
- use %zu for size_t (thx malekith)
[packages/collectd.git] / collectd-hddtemp.patch
diff --git a/collectd-hddtemp.patch b/collectd-hddtemp.patch
new file mode 100644 (file)
index 0000000..6865c58
--- /dev/null
@@ -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;
+                       }
This page took 0.060078 seconds and 4 git commands to generate.