avoid EPROTO in case not there (Tim Wiess)

This commit is contained in:
rsc 2006-10-12 01:55:09 +00:00
parent 1866bcc995
commit 6007b4d97b

View file

@ -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 },
};