aboutsummaryrefslogtreecommitdiff
path: root/smash/exec.c
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-02-15 15:07:56 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2023-02-15 15:07:56 +0100
commit1645da679ce50b13b6f19a062eabd2d869762a07 (patch)
tree37e19f84000df69bb2a7d88a2f3db800ead6a85a /smash/exec.c
parent3a369468f7daae5b3a60feaa50c6050b240be6d4 (diff)
add framebuffer image support
Diffstat (limited to 'smash/exec.c')
-rw-r--r--smash/exec.c4
1 files changed, 2 insertions, 2 deletions
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);