summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4ca5457)
raw | patch | inline | side by side (parent: 4ca5457)
author | octo <octo> | |
Fri, 21 Apr 2006 07:35:19 +0000 (07:35 +0000) | ||
committer | octo <octo> | |
Fri, 21 Apr 2006 07:35:19 +0000 (07:35 +0000) |
hddtemp.c: In function `hddtemp_init':
hddtemp.c:349: warning: unsigned int format, different type arg (arg 3)
hddtemp.c:349: warning: unsigned int format, different type arg (arg 3)
src/hddtemp.c | patch | blob | history |
diff --git a/src/hddtemp.c b/src/hddtemp.c
index a89765a73447443c2124804aac2d0373eb48a083..cbe6e80ab541f6f0b0a003f74d93d7bccfa8a90f 100644 (file)
--- a/src/hddtemp.c
+++ b/src/hddtemp.c
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;
}