diff options
Diffstat (limited to 'drivers/watchdog/iop_wdt.c')
-rw-r--r-- | drivers/watchdog/iop_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/iop_wdt.c b/drivers/watchdog/iop_wdt.c index 0c9059676690..aef94789019f 100644 --- a/drivers/watchdog/iop_wdt.c +++ b/drivers/watchdog/iop_wdt.c | |||
@@ -139,7 +139,7 @@ static long iop_wdt_ioctl(struct file *file, | |||
139 | 139 | ||
140 | switch (cmd) { | 140 | switch (cmd) { |
141 | case WDIOC_GETSUPPORT: | 141 | case WDIOC_GETSUPPORT: |
142 | if (copy_to_user(argp, &ident, sizeof ident)) | 142 | if (copy_to_user(argp, &ident, sizeof(ident))) |
143 | ret = -EFAULT; | 143 | ret = -EFAULT; |
144 | else | 144 | else |
145 | ret = 0; | 145 | ret = 0; |