hwmon: (adt7475) Fix temperature fault flags
[safe/jmp/linux-2.6] / drivers / watchdog / sc1200wdt.c
index b5e19c1..c01daca 100644 (file)
@@ -197,7 +197,7 @@ static long sc1200wdt_ioctl(struct file *file, unsigned int cmd,
 
        switch (cmd) {
        case WDIOC_GETSUPPORT:
-               if (copy_to_user(argp, &ident, sizeof ident))
+               if (copy_to_user(argp, &ident, sizeof(ident)))
                        return -EFAULT;
                return 0;