From: Wim Van Sebroeck Date: Wed, 13 Sep 2006 19:27:29 +0000 (+0200) Subject: [WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl() X-Git-Tag: v2.6.19-rc1~166^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f311896a990a0b766e279defe9adff29160ada03;p=pandora-kernel.git [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 Signed-off-by: Wim Van Sebroeck Acked-by: Alan Cox Signed-off-by: Andrew Morton --- Reading git-diff-tree failed