Skip to content

Commit 0398fc3

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1250857 commit 0398fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-command.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ int start_async(struct async *async)
725725
int finish_async(struct async *async)
726726
{
727727
#ifdef NO_PTHREADS
728-
return wait_or_whine(async->pid, "child process", 0);
728+
return wait_or_whine(async->pid, "child process");
729729
#else
730730
void *ret = (void *)(intptr_t)(-1);
731731

0 commit comments

Comments
 (0)