diff options
| author | Andi Shyti <andi.shyti@samsung.com> | 2016-07-06 06:01:24 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-07-13 15:26:52 -0300 |
| commit | b408809487e0b80fdd7869f92b5ca3be55923e9d (patch) | |
| tree | 4f9b4323717c9fc24842c28d34e31b86af663bae /lib/memory-notifier-error-inject.c | |
| parent | 9675ee5a8e42807ebd33bf4934f235911b5647b0 (diff) | |
[media] lirc_dev: fix error return value
If ioctl is called, it cannot be a case of invalid system call
number (ENOSYS), that is a ENOTTY case which means that the
device doesn't support that specific ioctl command.
So, replace ENOSYS with ENOTTY.
Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
