avoid EPROTO in case not there (Tim Wiess)
This commit is contained in:
parent
1866bcc995
commit
6007b4d97b
@ -41,7 +41,11 @@ static Error errortab[] = {
|
|||||||
{ "illegal", EINVAL },
|
{ "illegal", EINVAL },
|
||||||
{ "read-only", EROFS },
|
{ "read-only", EROFS },
|
||||||
{ "read only", EROFS },
|
{ "read only", EROFS },
|
||||||
|
#ifdef EPROTO
|
||||||
{ "proto", EPROTO },
|
{ "proto", EPROTO },
|
||||||
|
#else
|
||||||
|
{ "proto", EINVAL },
|
||||||
|
#endif
|
||||||
{ "entry", ENOENT },
|
{ "entry", ENOENT },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user