Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tests: allow user to specify trash directory location
[gitweb.git]
/
builtin-fetch--tool.c
diff --git
a/builtin-fetch--tool.c
b/builtin-fetch--tool.c
index 29356d25db910c6d90df46da87aa374467611350..3dbdf7a2887002f0d7a67a1db35bd3c72d7a9d30 100644
(file)
--- a/
builtin-fetch--tool.c
+++ b/
builtin-fetch--tool.c
@@
-8,7
+8,7
@@
static char *get_stdin(void)
{
struct strbuf buf = STRBUF_INIT;
if (strbuf_read(&buf, 0, 1024) < 0) {
- die
("error reading standard input: %s", strerror(errno)
);
+ die
_errno("error reading standard input"
);
}
return strbuf_detach(&buf, NULL);
}