From: octo Date: Fri, 21 Apr 2006 07:35:19 +0000 (+0000) Subject: Fix this: X-Git-Tag: liboping-0.1.0~58 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=621e2cf018bec3979807162542499c8d7acbb8a2;p=collectd.git Fix this: hddtemp.c: In function `hddtemp_init': hddtemp.c:349: warning: unsigned int format, different type arg (arg 3) --- diff --git a/src/hddtemp.c b/src/hddtemp.c index a89765a7..cbe6e80a 100644 --- a/src/hddtemp.c +++ b/src/hddtemp.c @@ -346,7 +346,8 @@ static void hddtemp_init (void) if ((entry = (hddname_t *) malloc (sizeof (hddname_t))) == NULL) { - syslog (LOG_ERR, "hddtemp: malloc (%u) == NULL", sizeof (hddname_t)); + syslog (LOG_ERR, "hddtemp: malloc (%u) == NULL", + (unsigned int) sizeof (hddname_t)); free (name); continue; }