]> git.pld-linux.org Git - packages/collectd.git/blob - collectd-hddtemp.patch
- use %zu for size_t (thx malekith)
[packages/collectd.git] / collectd-hddtemp.patch
1 --- collectd-3.8.4/src/hddtemp.c.wiget  2006-04-11 18:02:42.000000000 +0200
2 +++ collectd-3.8.4/src/hddtemp.c        2006-04-11 18:02:49.000000000 +0200
3 @@ -346,7 +346,7 @@
4  
5                         if ((entry = (hddname_t *) malloc (sizeof (hddname_t))) == NULL)
6                         {
7 -                               syslog (LOG_ERR, "hddtemp: malloc (%u) == NULL", sizeof (hddname_t));
8 +                               syslog (LOG_ERR, "hddtemp: malloc (%zu) == NULL", sizeof (hddname_t));
9                                 free (name);
10                                 continue;
11                         }
This page took 0.027239 seconds and 4 git commands to generate.