aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorWanlong Gao <[email protected]>2012-08-27 15:23:12 +0800
committerGreg Kroah-Hartman <[email protected]>2012-09-05 12:41:57 -0700
commitbbb63c514a3464342967237a51a21ea8f61ab951 (patch)
treec3f4892283439d84ee5581a9acb0d24c12f15ad8 /tools/perf/scripts/python/net_dropmonitor.py
parentfd7c81f864e3d8a2847fc0e36fde78b0da2fdf2c (diff)
drivers:tty:fix up ENOIOCTLCMD error handling
At commit 07d106d0, Linus pointed out that ENOIOCTLCMD should be translated as ENOTTY to user mode. For example: fd = open("/dev/tty", O_RDWR); ioctl(fd, -1, &argp); then the errno should be ENOTTY but not EINVAL. Signed-off-by: Wanlong Gao <[email protected]> Acked-by: Alan Cox <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions