summaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog/indydog.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/watchdog/indydog.c')
-rw-r--r--drivers/char/watchdog/indydog.c2
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,
switch (cmd) {
default:
- return -ENOIOCTLCMD;
+ return -ENOTTY;
case WDIOC_GETSUPPORT:
if (copy_to_user((struct watchdog_info *)arg,
&ident, sizeof(ident)))
OpenPOWER on IntegriCloud