summaryrefslogtreecommitdiff
path: root/src/cmd/shell
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/shell')
-rw-r--r--src/cmd/shell/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/shell/shell.c b/src/cmd/shell/shell.c
index 3aeaca1..9afdb5c 100644
--- a/src/cmd/shell/shell.c
+++ b/src/cmd/shell/shell.c
@@ -57,7 +57,7 @@ void run_args(int argc, char **argv, struct redir *redir) {
if (argc < 2) {
fprintf(stderr, "shadow: missing path\n");
} else {
- _sys_mount(HANDLE_NULLFS, argv[1], strlen(argv[1]));
+ _sys_mount(-1, argv[1], strlen(argv[1]));
}
} else if (!strcmp(argv[0], "procmnt")) {
if (argc < 2) {