diff options
Diffstat (limited to 'drivers/char/watchdog/indydog.c')
-rw-r--r-- | drivers/char/watchdog/indydog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/indydog.c b/drivers/char/watchdog/indydog.c index dacc1c20a310..0bc239308989 100644 --- a/drivers/char/watchdog/indydog.c +++ b/drivers/char/watchdog/indydog.c | |||
@@ -112,7 +112,7 @@ static int indydog_ioctl(struct inode *inode, struct file *file, | |||
112 | 112 | ||
113 | switch (cmd) { | 113 | switch (cmd) { |
114 | default: | 114 | default: |
115 | return -ENOIOCTLCMD; | 115 | return -ENOTTY; |
116 | case WDIOC_GETSUPPORT: | 116 | case WDIOC_GETSUPPORT: |
117 | if (copy_to_user((struct watchdog_info *)arg, | 117 | if (copy_to_user((struct watchdog_info *)arg, |
118 | &ident, sizeof(ident))) | 118 | &ident, sizeof(ident))) |