open syscall

This commit is contained in:
Matheus
2022-08-19 19:01:59 -03:00
parent 1d3405ba10
commit 098b2f5691
7 changed files with 263 additions and 12 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
#include <string.h>
static char* strs[] = {
"No error",
"Unknown error",
"Not a directory",
"No such device",
"Out of memory",
@@ -12,5 +12,5 @@ static char* strs[] = {
};
char* strerror(int errnum){
return strs[errnum];
return strs[0]; // FIXME 0 for now because ABI change
}