From 2f8da5a5eb726f3c05b8fca19e82928d8acb147d Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 10 Oct 2025 18:49:43 -0400 Subject: kern: proc: Add initial penv block support This commit introduces the initial support for the process environment block and implements argv and argc. Signed-off-by: Ian Moffett --- src/cmd/init/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd') diff --git a/src/cmd/init/init.c b/src/cmd/init/init.c index befaa18..6b05bfa 100644 --- a/src/cmd/init/init.c +++ b/src/cmd/init/init.c @@ -34,7 +34,7 @@ void main(void) { char shell_path[] = "/usr/bin/hush"; - char *argv_dmmy[] = {NULL}; + char *argv_dmmy[] = { "/usr/bin/hush", NULL }; spawn(shell_path, argv_dmmy); for (;;); -- cgit v1.2.3