aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9pfuse
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-10-12 01:55:09 +0000
committerrsc <devnull@localhost>2006-10-12 01:55:09 +0000
commit6007b4d97bc6332eaa831d3e9fdd0bad259e0bfe (patch)
tree70945fcbc043f329b5574c2c0c269cea08dffef7 /src/cmd/9pfuse
parent1866bcc995cc56be2ee1a9a954aa93d102727077 (diff)
downloadplan9port-6007b4d97bc6332eaa831d3e9fdd0bad259e0bfe.tar.gz
plan9port-6007b4d97bc6332eaa831d3e9fdd0bad259e0bfe.tar.bz2
plan9port-6007b4d97bc6332eaa831d3e9fdd0bad259e0bfe.zip
avoid EPROTO in case not there (Tim Wiess)
Diffstat (limited to 'src/cmd/9pfuse')
-rw-r--r--src/cmd/9pfuse/errstr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd/9pfuse/errstr.c b/src/cmd/9pfuse/errstr.c
index 9b132869..a51e337c 100644
--- 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 },
};