aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/watchdog/acquirewdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/watchdog/acquirewdt.c')
-rw-r--r--drivers/char/watchdog/acquirewdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/acquirewdt.c b/drivers/char/watchdog/acquirewdt.c
index c77fe3cf285..154d67e591e 100644
--- a/drivers/char/watchdog/acquirewdt.c
+++ b/drivers/char/watchdog/acquirewdt.c
@@ -183,7 +183,7 @@ static int acq_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
}
default:
- return -ENOIOCTLCMD;
+ return -ENOTTY;
}
}