git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
char
/
watchdog
/
indydog.c
diff --git
a/drivers/char/watchdog/indydog.c
b/drivers/char/watchdog/indydog.c
index
dacc1c2
..
0bc2393
100644
(file)
--- 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:
switch (cmd) {
default:
- return -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
case WDIOC_GETSUPPORT:
if (copy_to_user((struct watchdog_info *)arg,
&ident, sizeof(ident)))
case WDIOC_GETSUPPORT:
if (copy_to_user((struct watchdog_info *)arg,
&ident, sizeof(ident)))