From 621e2cf018bec3979807162542499c8d7acbb8a2 Mon Sep 17 00:00:00 2001 From: octo Date: Fri, 21 Apr 2006 07:35:19 +0000 Subject: [PATCH] Fix this: hddtemp.c: In function `hddtemp_init': hddtemp.c:349: warning: unsigned int format, different type arg (arg 3) --- src/hddtemp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.11.0