summaryrefslogtreecommitdiff
path: root/src/user/app/shell
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/shell
parentfa06b2c9cb7c128243f603dd3f23ddbb3d542e51 (diff)
libc: replace fork2_n_mount with mount_at
Diffstat (limited to 'src/user/app/shell')
-rw-r--r--src/user/app/shell/shell.c2
1 files changed, 1 insertions, 1 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);
}