summaryrefslogtreecommitdiffstats
path: root/fs/9p/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/9p/error.h')
-rw-r--r--fs/9p/error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/error.h b/fs/9p/error.h
index 6dbb66f5b28f..2eb5927d589e 100644
--- a/fs/9p/error.h
+++ b/fs/9p/error.h
@@ -139,7 +139,7 @@ static struct errormap errmap[] = {
{"illegal mode", EINVAL},
{"illegal name", ENAMETOOLONG},
{"not a directory", ENOTDIR},
- {"not a member of proposed group", EINVAL},
+ {"not a member of proposed group", EPERM},
{"not owner", EACCES},
{"only owner can change group in wstat", EACCES},
{"read only file system", EROFS},