mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
Kernel: Support open() with O_CREAT.
It's now possible to create zero-length files! :^) Also hook up the new functionality in /bin/touch.
This commit is contained in:
@@ -124,7 +124,7 @@ void init_ksyms()
|
||||
void load_ksyms()
|
||||
{
|
||||
int error;
|
||||
auto descriptor = VFS::the().open("/kernel.map", error);
|
||||
auto descriptor = VFS::the().open("/kernel.map", error, 0, 0);
|
||||
if (!descriptor) {
|
||||
kprintf("Failed to open /kernel.map\n");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user