1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00

Kernel+LibC+Userland: Support mounting other kinds of filesystems

This commit is contained in:
Sergey Bugaev 2019-08-15 19:13:56 +03:00 committed by Andreas Kling
parent 66a0a12435
commit 425c356288
6 changed files with 58 additions and 46 deletions

View file

@ -293,7 +293,7 @@ static u32 handle(RegisterDump& regs, u32 function, u32 arg1, u32 arg2, u32 arg3
break;
}
case Syscall::SC_mount:
return current->process().sys$mount((const char*)arg1, (const char*)arg2);
return current->process().sys$mount((const char*)arg1, (const char*)arg2, (const char*)arg3);
case Syscall::SC_reboot: {
return current->process().sys$reboot();
}