Paul Durrant dc9eab6fd9 xen/privcmd: return -ENOTTY for unimplemented IOCTLs
The code sets the default return code to -ENOSYS but then overrides this
to -EINVAL in the switch() statement's default case, which is clearly
silly.

This patch removes the override and sets the default return code to
-ENOTTY, which is the conventional return for an unimplemented ioctl.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
2017-02-13 13:49:00 -05:00
..
2017-02-07 08:07:01 -05:00
2015-12-21 14:40:55 +00:00
2016-12-22 10:04:08 +01:00
2016-12-08 07:53:50 +01:00
2015-12-21 14:40:55 +00:00
2011-12-16 13:29:31 -05:00