Break ioctl() up into smaller syscalls
This commit is contained in:
@ -10,7 +10,7 @@ void fs_mkd(void) {
|
||||
|
||||
char *path = *(args()+1);
|
||||
|
||||
int32_t r = ioctl(IOCTL_NOHANDLE, IOCTL_MKDIR, (uint64_t)path, 0, 0);
|
||||
int32_t r = fs_mkdir(path);
|
||||
if (r != E_OK) {
|
||||
uprintf("fs: could not create %s\n", path);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user