Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Riesen <raa.lkml@gmail.com>2006-01-05 11:56:37 +0300
committerJunio C Hamano <junkio@cox.net>2006-01-06 04:22:45 +0300
commit7f272ca80c1dbb8157e204a821365448eaec52ea (patch)
tree224ddc51e38b6cfc073c7d126eb7111a6054e2ec /fetch-clone.c
parentb73cebf437252660cea670c27dcdedc422e1bff9 (diff)
trivial: retval of waitpid is not errno
...but is used as such and passed to strerror. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'fetch-clone.c')
-rw-r--r--fetch-clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch-clone.c b/fetch-clone.c
index 2b2aa15ea7..f46fe6ecbb 100644
--- a/fetch-clone.c
+++ b/fetch-clone.c
@@ -47,7 +47,7 @@ static int finish_pack(const char *pack_tmp_name, const char *me)
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)) {