dyoung
29e838604a
Convert a complicated if/else if/else chain to a switch statement
that is a bit more readable. ENODEV and ENOTTY are appropriate error codes for indicating unsupported ioctls, but EINVAL is definitely not! If an operation is not supported, return ENODEV instead of EINVAL.
…
…
…
…
…
…
…
…
…
…
…
…
…
Description
No description provided
Languages
C
85.3%
Roff
7.2%
Assembly
3.1%
Shell
1.7%
Makefile
1.2%
Other
0.9%