diff options
Diffstat (limited to 'drivers/watchdog/sc1200wdt.c')
-rw-r--r-- | drivers/watchdog/sc1200wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/sc1200wdt.c b/drivers/watchdog/sc1200wdt.c index b5e19c1820a2..c01daca8405a 100644 --- a/drivers/watchdog/sc1200wdt.c +++ b/drivers/watchdog/sc1200wdt.c | |||
@@ -197,7 +197,7 @@ static long sc1200wdt_ioctl(struct file *file, unsigned int cmd, | |||
197 | 197 | ||
198 | switch (cmd) { | 198 | switch (cmd) { |
199 | case WDIOC_GETSUPPORT: | 199 | case WDIOC_GETSUPPORT: |
200 | if (copy_to_user(argp, &ident, sizeof ident)) | 200 | if (copy_to_user(argp, &ident, sizeof(ident))) |
201 | return -EFAULT; | 201 | return -EFAULT; |
202 | return 0; | 202 | return 0; |
203 | 203 | ||