SOURCES: collectd-hddtemp.patch (NEW) - use %zu for size_t (thx ma...
wiget
wiget at pld-linux.org
Tue Apr 11 18:27:10 CEST 2006
Author: wiget Date: Tue Apr 11 16:27:10 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- use %zu for size_t (thx malekith)
---- Files affected:
SOURCES:
collectd-hddtemp.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/collectd-hddtemp.patch
diff -u /dev/null SOURCES/collectd-hddtemp.patch:1.1
--- /dev/null Tue Apr 11 18:27:10 2006
+++ SOURCES/collectd-hddtemp.patch Tue Apr 11 18:27:05 2006
@@ -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;
+ }
================================================================
More information about the pld-cvs-commit
mailing list