diff options
| author | Wim Van Sebroeck <[email protected]> | 2006-09-13 21:27:29 +0200 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2006-10-03 22:51:18 +0200 |
| commit | f311896a990a0b766e279defe9adff29160ada03 (patch) | |
| tree | c7f46eb23c639b07e76e27640a62ccde96f8ed38 /include/linux/root_dev.h | |
| parent | 1bef84bea273f40486936ae97cda70ee8b252cd0 (diff) | |
[WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl()
Return ENOTTY instead of ENOIOCTLCMD in user-visible ioctl() results
The watchdog drivers used to return ENOIOCTLCMD for bad ioctl() commands.
ENOIOCTLCMD should not be visible by the user, so use ENOTTY instead.
Signed-off-by: Samuel Tardieu <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Acked-by: Alan Cox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions