summaryrefslogtreecommitdiff
path: root/src/user/app/tests/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/tests/kernel')
-rw-r--r--src/user/app/tests/kernel/fs.c2
-rw-r--r--src/user/app/tests/kernel/path.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/user/app/tests/kernel/fs.c b/src/user/app/tests/kernel/fs.c
index d11775a..65e349c 100644
--- a/src/user/app/tests/kernel/fs.c
+++ b/src/user/app/tests/kernel/fs.c
@@ -6,7 +6,7 @@ static void test_unfinished_req(void) {
handle_t h;
if (_syscall_fork(FORK_NEWFS, &h)) {
// TODO make a similar test with all 0s passed to fs_wait
- struct fs_wait_response res;
+ struct ufs_request res;
_syscall_fs_wait(NULL, 0, &res);
// TODO second fs_wait
exit(0);
diff --git a/src/user/app/tests/kernel/path.c b/src/user/app/tests/kernel/path.c
index ddaf692..fd6eeec 100644
--- a/src/user/app/tests/kernel/path.c
+++ b/src/user/app/tests/kernel/path.c
@@ -66,7 +66,7 @@ static void test_path_simplify(void) {
static void mount_resolve_drv(const char *path) {
if (fork2_n_mount(path)) return;
- struct fs_wait_response res;
+ struct ufs_request res;
while (!c0_fs_wait(NULL, 0, &res)) {
// TODO does the first argument of c0_fs_respond need to be non-const?
c0_fs_respond((void*)path, strlen(path), 0);