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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King committed
Jan 5, 2013 at 09:52 UTC
0398fc349627a8a55ec4727bfb85fb7fad1f4ff0
1 file changed
+1
-1
run-command.c
+1
-1
@@ -725,7 +725,7 @@ error:
725
int finish_async(struct async *async)
726
{
727
#ifdef NO_PTHREADS
728
- return wait_or_whine(async->pid, "child process", 0);
728
+ return wait_or_whine(async->pid, "child process");
729
#else
730
void *ret = (void *)(intptr_t)(-1);
731