There are no typewriters in 2020.
The BSD "Not a typewriter" translation of ENOTTY looks very weird in 2020. The glibc "Inappropriate ioctl for device" is more generic, and so much less likely to be inappropriate. Test: strace on a failed fs ioctl Change-Id: Iad374d6b91ca9f2e4fa1079986fd698feef8359f
This commit is contained in:
parent
3779d6da40
commit
a8c4542450
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ static const char* __sys_error_strings[] = {
|
|||
[EINVAL] = "Invalid argument",
|
||||
[ENFILE] = "File table overflow",
|
||||
[EMFILE] = "Too many open files",
|
||||
[ENOTTY] = "Not a typewriter",
|
||||
[ENOTTY] = "Inappropriate ioctl for device",
|
||||
[ETXTBSY] = "Text file busy",
|
||||
[EFBIG] = "File too large",
|
||||
[ENOSPC] = "No space left on device",
|
||||
|
|
Loading…
Reference in a new issue