diff options
author | dzwdz | 2024-05-11 20:55:10 +0200 |
---|---|---|
committer | dzwdz | 2024-05-11 20:55:10 +0200 |
commit | ec3d2400db15e6911138d88f95cae141a9da2130 (patch) | |
tree | 243ae2e52a428529bb050caaed332185c465a7d5 /src/cmd/shell/shell.c | |
parent | e4ebea27b2f339706da76a3e79cb63ea9ed97c38 (diff) |
kernel: remove HANDLE_NULLFS
It was a dumb hack that wasn't even necessary - an error when mounting should
shadow over the mountpoint anyways.
Diffstat (limited to 'src/cmd/shell/shell.c')
-rw-r--r-- | src/cmd/shell/shell.c | 2 |
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) { |