1
Fork 0
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:
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

@ -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);
}