mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 05:38:21 +00:00
bugfixes, change types.h to be linux abi, stat system call
This commit is contained in:
@@ -69,7 +69,7 @@ syscallret syscall_open(const char* pathname, int flags, mode_t mode){
|
||||
fd->flags = flags + 1; // 1 is added to make O_RDONLY etc easier to lookup
|
||||
fd->offset = 0;
|
||||
|
||||
vnode_t* file;
|
||||
vnode_t* file = NULL;
|
||||
|
||||
size_t ret = vfs_open(&file,
|
||||
*name == '/' ? proc->root : proc->cwd,
|
||||
|
||||
Reference in New Issue
Block a user