diff --git a/sys/fs/vfs/stat.c b/sys/fs/vfs/stat.c index 3403547..83d74f2 100644 --- a/sys/fs/vfs/stat.c +++ b/sys/fs/vfs/stat.c @@ -34,7 +34,7 @@ fileDescriptor *fd = fopen(path, "r"); if (fd == 0) { - error -1; + error = -1; } else { sb->st_dev = 0xDEADBEEF; diff --git a/sys/i386/i386_exec.c b/sys/i386/i386_exec.c index f1e0a0f..e390125 100644 --- a/sys/i386/i386_exec.c +++ b/sys/i386/i386_exec.c @@ -102,6 +102,8 @@ *argv_out = argv_tmp; *args_out = args_tmp; + return(0); + } static int envs_copyin(char **envp_in, char **envp_out, char **envs_out) { @@ -125,7 +127,7 @@ *envp_out = envp_tmp; *envs_out = envs_tmp; - + return(0); } static int elf_parse_dynamic(elf_file_t ef);