diff options
Diffstat (limited to 'drivers/char/watchdog/scx200_wdt.c')
-rw-r--r-- | drivers/char/watchdog/scx200_wdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/scx200_wdt.c b/drivers/char/watchdog/scx200_wdt.c index c561299a5537..fc0e0347f9d2 100644 --- a/drivers/char/watchdog/scx200_wdt.c +++ b/drivers/char/watchdog/scx200_wdt.c | |||
@@ -166,7 +166,7 @@ static int scx200_wdt_ioctl(struct inode *inode, struct file *file, | |||
166 | 166 | ||
167 | switch (cmd) { | 167 | switch (cmd) { |
168 | default: | 168 | default: |
169 | return -ENOIOCTLCMD; | 169 | return -ENOTTY; |
170 | case WDIOC_GETSUPPORT: | 170 | case WDIOC_GETSUPPORT: |
171 | if(copy_to_user(argp, &ident, sizeof(ident))) | 171 | if(copy_to_user(argp, &ident, sizeof(ident))) |
172 | return -EFAULT; | 172 | return -EFAULT; |