Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
trivial: retval of waitpid is not errno
author
Alex Riesen
<raa.lkml@gmail.com>
Thu, 5 Jan 2006 08:56:37 +0000
(09:56 +0100)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 6 Jan 2006 01:22:45 +0000
(17:22 -0800)
...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>
fetch-clone.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
b73cebf
)
diff --git
a/fetch-clone.c
b/fetch-clone.c
index 2b2aa15ea77b97da523a0befab26fb9e7abe948a..f46fe6ecbb775b965fb6110dc81746cd5bb230c5 100644
(file)
--- 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)) {