summaryrefslogtreecommitdiff
path: root/src/user/app/tests/kernel/path.c
diff options
context:
space:
mode:
authordzwdz2023-08-13 23:29:46 +0200
committerdzwdz2023-08-13 23:29:46 +0200
commit8050069c57b729c18c19b1a03ab6e4bf63b4735e (patch)
tree6c1ee4beae0519e06dc24ee42c5fde758137d17f /src/user/app/tests/kernel/path.c
parentfa06b2c9cb7c128243f603dd3f23ddbb3d542e51 (diff)
libc: replace fork2_n_mount with mount_at
Diffstat (limited to 'src/user/app/tests/kernel/path.c')
-rw-r--r--src/user/app/tests/kernel/path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/tests/kernel/path.c b/src/user/app/tests/kernel/path.c
index 5392681..5a22c36 100644
--- a/src/user/app/tests/kernel/path.c
+++ b/src/user/app/tests/kernel/path.c
@@ -64,7 +64,7 @@ static void test_path_simplify(void) {
}
static void mount_resolve_drv(const char *path) {
- if (fork2_n_mount(path)) return;
+ if (mount_at(path) != 0) return;
struct ufs_request res;
while (!c0_fs_wait(NULL, 0, &res)) {