summaryrefslogtreecommitdiff
path: root/src/user/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app')
-rw-r--r--src/user/app/shell/shell.c2
-rw-r--r--src/user/app/tests/kernel/path.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/user/app/shell/shell.c b/src/user/app/shell/shell.c
index 65f08b6..185aa7e 100644
--- a/src/user/app/shell/shell.c
+++ b/src/user/app/shell/shell.c
@@ -63,7 +63,7 @@ void run_args(int argc, char **argv, struct redir *redir) {
_sys_mount(HANDLE_PROCFS, argv[1], strlen(argv[1]));
/*
if (!(3 <= argc && !strcmp(argv[2], "raw"))) {
- if (!fork2_n_mount("/")) {
+ if (!mount_at("/")) {
fs_dirinject(argv[1]);
exit(1);
}
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)) {