diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2006-09-13 21:27:29 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2006-10-04 22:42:19 +0200 |
commit | 196f29c8e8cd3352d26ed7bdf44f622e14adb931 (patch) | |
tree | 7fbc53f76d8871bec959ca6d4f8463c13367578f /lib/kobject_uevent.c | |
parent | c310e2b950c949cfc14754baed877eadb1a26f6b (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 <sam@rfc1149.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'lib/kobject_uevent.c')
0 files changed, 0 insertions, 0 deletions