mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
avoid EPROTO in case not there (Tim Wiess)
This commit is contained in:
parent
1866bcc995
commit
6007b4d97b
1 changed files with 4 additions and 0 deletions
|
@ -41,7 +41,11 @@ static Error errortab[] = {
|
|||
{ "illegal", EINVAL },
|
||||
{ "read-only", EROFS },
|
||||
{ "read only", EROFS },
|
||||
#ifdef EPROTO
|
||||
{ "proto", EPROTO },
|
||||
#else
|
||||
{ "proto", EINVAL },
|
||||
#endif
|
||||
{ "entry", ENOENT },
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue