Skip to content
Browse files

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>
  • Loading branch information...
1 parent 1250857 commit 0398fc349627a8a55ec4727bfb85fb7fad1f4ff0 @peff peff committed with gitster
Showing with 1 addition and 1 deletion.
  1. +1 −1 run-command.c
View
2 run-command.c
@@ -725,7 +725,7 @@ int start_async(struct async *async)
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);

0 comments on commit 0398fc3

Please sign in to comment.
Something went wrong with that request. Please try again.