]> git.pld-linux.org Git - packages/collectd.git/commitdiff
- use %zu for size_t (thx malekith)
authorArtur Frysiak <artur@frysiak.net>
Tue, 11 Apr 2006 16:27:05 +0000 (16:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    collectd-hddtemp.patch -> 1.1

collectd-hddtemp.patch [new file with mode: 0644]

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.07894 seconds and 4 git commands to generate.