diff options
author | dzwdz | 2021-11-02 19:51:04 +0100 |
---|---|---|
committer | dzwdz | 2021-11-02 19:51:04 +0100 |
commit | a957c8f0c6b35171378522e03b4360cfc5527832 (patch) | |
tree | 65e0a052a5f9cd5a36dac918f31294b295ee3032 /src/init/main.c | |
parent | c0903edc3ee1fe4dd9c9921f4b7712a94271f238 (diff) |
fork2 refactor: every process now has (only) a single controlled vfs_backend
Diffstat (limited to 'src/init/main.c')
-rw-r--r-- | src/init/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/init/main.c b/src/init/main.c index 73df25b..5df6bb3 100644 --- a/src/init/main.c +++ b/src/init/main.c @@ -32,11 +32,11 @@ int main(void) { } void fs_prep(void) { - handle_t front, back; - front = _syscall_fs_create(&back); + handle_t front; + front = _syscall_fs_create(); if (!_syscall_fork()) { - tar_driver(back, &_initrd); + tar_driver(&_initrd); _syscall_exit(1); } |