Fix permission checks in EXT2.

This commit is contained in:
Enrico Fraccaroli
2021-12-29 13:16:02 +01:00
parent 1ebc74f31f
commit 81a0abed20
7 changed files with 99 additions and 22 deletions
+5
View File
@@ -15,6 +15,11 @@ char *strerror(int errnum)
case 0:
strcpy(error, "Success");
break;
#ifdef EPERM
case EPERM:
strcpy(error, "Operation not permitted");
break;
#endif
#ifdef ENOENT
case ENOENT:
strcpy(error, "No such file or directory");