plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 6007b4d97bc6332eaa831d3e9fdd0bad259e0bfe
parent 1866bcc995cc56be2ee1a9a954aa93d102727077
Author: rsc <devnull@localhost>
Date:   Thu, 12 Oct 2006 01:55:09 +0000

avoid EPROTO in case not there (Tim Wiess)

Diffstat:
Msrc/cmd/9pfuse/errstr.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/cmd/9pfuse/errstr.c b/src/cmd/9pfuse/errstr.c @@ -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 }, };