mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:08:12 +00:00
Kernel+LibC+Userland: Support mounting other kinds of filesystems
This commit is contained in:
parent
66a0a12435
commit
425c356288
6 changed files with 58 additions and 46 deletions
|
@ -551,9 +551,9 @@ int reboot()
|
|||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
int mount(const char* device, const char* mountpoint)
|
||||
int mount(const char* device, const char* mountpoint, const char* fstype)
|
||||
{
|
||||
int rc = syscall(SC_mount, device, mountpoint);
|
||||
int rc = syscall(SC_mount, device, mountpoint, fstype);
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue