aboutsummaryrefslogtreecommitdiff
path: root/drivers/char/watchdog/ibmasr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/watchdog/ibmasr.c')
-rw-r--r--drivers/char/watchdog/ibmasr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/ibmasr.c b/drivers/char/watchdog/ibmasr.c
index 26ceee7a4df..dd6760f1a23 100644
--- a/drivers/char/watchdog/ibmasr.c
+++ b/drivers/char/watchdog/ibmasr.c
@@ -295,7 +295,7 @@ static int asr_ioctl(struct inode *inode, struct file *file,
}
}
- return -ENOIOCTLCMD;
+ return -ENOTTY;
}
static int asr_open(struct inode *inode, struct file *file)