projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl()
[linux-2.6-block.git]
/
drivers
/
char
/
watchdog
/
mixcomwd.c
diff --git
a/drivers/char/watchdog/mixcomwd.c
b/drivers/char/watchdog/mixcomwd.c
index ae943324d2511e2b5ab174b59d864fc055ca60a3..c2dac0aa1d6254906468a35dcbaea932197b416f 100644
(file)
--- a/
drivers/char/watchdog/mixcomwd.c
+++ b/
drivers/char/watchdog/mixcomwd.c
@@
-185,7
+185,7
@@
static int mixcomwd_ioctl(struct inode *inode, struct file *file,
mixcomwd_ping();
break;
default:
- return -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
}
return 0;
}