aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9pfuse/errstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/9pfuse/errstr.c')
-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 },
};