From 1645da679ce50b13b6f19a062eabd2d869762a07 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Wed, 15 Feb 2023 15:07:56 +0100 Subject: add framebuffer image support --- smash/exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'smash/exec.c') diff --git a/smash/exec.c b/smash/exec.c index 8c20126..603f93d 100644 --- a/smash/exec.c +++ b/smash/exec.c @@ -63,7 +63,7 @@ void execute_line(char *line) close(pipefd[1][PIPE_OUT]); close(pipefd[1][PIPE_IN]); - exec((const char **)argv); + exec((const char**)argv); wff(STDERR_FD, "command not found: %s\n", argv[0]); exit(-1); } @@ -85,7 +85,7 @@ void execute_line(char *line) list_node_t *node = pids->first; for (; node; node = node->next) { - wait4((int)node->value, 0, 0); + wait4((int)node->value, 0, 0, 0); } free_expression(exps); -- cgit v1.2.3-70-g09d2