libfsserver/lib/files/host_file_opener.cc | raw changeset files shortlog |
1.1 --- a/libfsserver/lib/files/host_file_opener.cc Thu Sep 15 18:47:12 2022 +0200 1.2 +++ b/libfsserver/lib/files/host_file_opener.cc Thu Sep 15 18:50:13 2022 +0200 1.3 @@ -209,7 +209,7 @@ 1.4 switch (err) 1.5 { 1.6 case 0: break; 1.7 - case EACCES: return -L4_EPERM; 1.8 + case EACCES: return -L4_EACCESS; 1.9 case EEXIST: return -L4_EEXIST; 1.10 case ENOENT: return -L4_ENOENT; 1.11 default: return -L4_EIO;