mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Kernel+LibC+Userland: Support mounting other kinds of filesystems
This commit is contained in:
parent
66a0a12435
commit
425c356288
Notes:
sideshowbarker
2024-07-19 12:39:25 +09:00
Author: https://github.com/bugaevc
Commit: 425c356288
Pull-request: https://github.com/SerenityOS/serenity/pull/456
Reviewed-by: https://github.com/awesomekling ✅
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