Subject: [PATCH] retval of waitpid is not errno Signed-off-by: Alex Riesen --- fetch-clone.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) a1dd9ab6b49a6c4e7abb6519933bf2bb22594bd4 diff --git a/fetch-clone.c b/fetch-clone.c index 2b2aa15..f46fe6e 100644 --- a/fetch-clone.c +++ b/fetch-clone.c @@ -47,7 +47,7 @@ static int finish_pack(const char *pack_ if (retval < 0) { if (errno == EINTR) continue; - error("waitpid failed (%s)", strerror(retval)); + error("waitpid failed (%s)", strerror(errno)); goto error_die; } if (WIFSIGNALED(status)) { -- 1.0.GIT