From 8050069c57b729c18c19b1a03ab6e4bf63b4735e Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 13 Aug 2023 23:29:46 +0200 Subject: libc: replace fork2_n_mount with mount_at --- src/user/app/shell/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/user/app/shell') 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); } -- cgit v1.2.3