From d0dcf4230a22156fc48207091587549f7c30e252 Mon Sep 17 00:00:00 2001 From: Timo Kokkonen Date: Fri, 8 Jul 2016 12:39:30 +0300 Subject: [PATCH] process.c: Trivial white space cleanup Signed-off-by: Timo Kokkonen --- process.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/process.c b/process.c index 3b10700..d6ed651 100644 --- a/process.c +++ b/process.c @@ -421,7 +421,7 @@ int harvest_zombies(int pid) return 0; if (pid) - pr_debug("Waiting on pid %d, children left: %d\n", pid, + pr_debug("Waiting on pid %d, children left: %d\n", pid, child_count); do { @@ -535,15 +535,15 @@ int run_piped_stream(const char *cmd, char *const argv[], if (stdinf) i = &ifd; - else + else i = 0; if (stdoutf) o = &ofd; - else + else o = 0; if (stderrf) e = &efd; - else + else e = 0; pid = run_piped(cmd, argv, i, o, e); @@ -649,7 +649,7 @@ print: } sptr = eptr = rbuf; - while(bytes--) { + while (bytes--) { if (*eptr == '\n') { *eptr = 0; if (is_stderr) @@ -667,7 +667,7 @@ print: close(ofd); close(efd); - harvest_zombies(child); + harvest_zombies(child); exit(1); return 0; -- 2.44.0