diff options
author | dzwdz | 2023-08-13 23:29:46 +0200 |
---|---|---|
committer | dzwdz | 2023-08-13 23:29:46 +0200 |
commit | 8050069c57b729c18c19b1a03ab6e4bf63b4735e (patch) | |
tree | 6c1ee4beae0519e06dc24ee42c5fde758137d17f /src/user/app/shell | |
parent | fa06b2c9cb7c128243f603dd3f23ddbb3d542e51 (diff) |
libc: replace fork2_n_mount with mount_at
Diffstat (limited to 'src/user/app/shell')
-rw-r--r-- | src/user/app/shell/shell.c | 2 |
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); } |