summaryrefslogtreecommitdiff
path: root/process-posix.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-16 12:33:11 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-16 12:33:11 -0500
commit824c4ff4be5a0bf55b6644fed06fcfe2248c4301 (patch)
tree0eb56394e769e23005a9f03ffea0557c2577e542 /process-posix.c
parent4bde24cb63313f636ac72b449f54d68515efe485 (diff)
started getting :build to work
Diffstat (limited to 'process-posix.c')
-rw-r--r--process-posix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/process-posix.c b/process-posix.c
index da0448d..9be7e10 100644
--- a/process-posix.c
+++ b/process-posix.c
@@ -10,6 +10,8 @@ struct Process {
};
bool process_exec(Process *proc, char const *program, char **argv) {
+ memset(proc, 0, sizeof *proc);
+
bool success = false;
int pipefd[2];