diff options
author | dzwdz | 2021-09-12 17:53:48 +0200 |
---|---|---|
committer | dzwdz | 2021-09-12 17:53:48 +0200 |
commit | 3ea9657aaaf02709c8f216285b095af29e76491c (patch) | |
tree | 36dfe7038f2ff829791ccdaf18b0ee71744207a6 /src/init/main.c | |
parent | 5090829984cd4b3238d3f42eaad2431f1fd5282b (diff) |
implement part of `fs_respond`
Diffstat (limited to 'src/init/main.c')
-rw-r--r-- | src/init/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init/main.c b/src/init/main.c index fa4fda7..de8a599 100644 --- a/src/init/main.c +++ b/src/init/main.c @@ -39,10 +39,12 @@ void fs_test(void) { _syscall_fs_wait(back, buf, &len); log("fs_wait returned. "); _syscall_write(tty_fd, buf, len); + _syscall_fs_respond(0, NULL, 0); } else { // parent: accesses the fs _syscall_mount(front, argify("/mnt")); log("requesting file. "); file = _syscall_open(argify("/mnt/test")); + log("open returned. "); } } |