summaryrefslogtreecommitdiff
path: root/test-run-command.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-run-command.c')
-rw-r--r--test-run-command.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test-run-command.c b/test-run-command.c
index 37918e1..89c7de2 100644
--- a/test-run-command.c
+++ b/test-run-command.c
@@ -15,9 +15,7 @@
int main(int argc, char **argv)
{
- struct child_process proc;
-
- memset(&proc, 0, sizeof(proc));
+ struct child_process proc = CHILD_PROCESS_INIT;
if (argc < 3)
return 1;