summaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog/wdt285.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/watchdog/wdt285.c')
-rw-r--r--drivers/char/watchdog/wdt285.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/wdt285.c b/drivers/char/watchdog/wdt285.c
index 6555fb844f2..89a249e23fd 100644
--- a/drivers/char/watchdog/wdt285.c
+++ b/drivers/char/watchdog/wdt285.c
@@ -137,7 +137,7 @@ watchdog_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
unsigned long arg)
{
unsigned int new_margin;
- int ret = -ENOIOCTLCMD;
+ int ret = -ENOTTY;
switch(cmd) {
case WDIOC_GETSUPPORT: