summaryrefslogtreecommitdiff
path: root/run-command.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2013-01-05 14:52:29 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-01-06 06:47:27 (GMT)
commit0398fc349627a8a55ec4727bfb85fb7fad1f4ff0 (patch)
tree27dfcfd72acb139cfce64f4af574f7ce56bc0a23 /run-command.c
parent1250857c6c2695020bce6669a4ff43d57a507d91 (diff)
downloadgit-0398fc349627a8a55ec4727bfb85fb7fad1f4ff0.zip
git-0398fc349627a8a55ec4727bfb85fb7fad1f4ff0.tar.gz
git-0398fc349627a8a55ec4727bfb85fb7fad1f4ff0.tar.bz2
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>
Diffstat (limited to 'run-command.c')
-rw-r--r--run-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-command.c b/run-command.c
index 757f263..24eaad5 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);