From 0398fc349627a8a55ec4727bfb85fb7fad1f4ff0 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Sat, 5 Jan 2013 09:52:29 -0500 Subject: [PATCH] fix compilation with NO_PTHREADS Commit 1327452 cleaned up an unused parameter from wait_or_whine, but forgot to update a caller that is inside "#ifdef NO_PTHREADS". Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- run-command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-command.c b/run-command.c index 757f263cd6..24eaad5c66 100644 --- a/run-command.c +++ b/run-command.c @@ -725,7 +725,7 @@ error: int finish_async(struct async *async) { #ifdef NO_PTHREADS - return wait_or_whine(async->pid, "child process", 0); + return wait_or_whine(async->pid, "child process"); #else void *ret = (void *)(intptr_t)(-1); -- 2.11.4.GIT