Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
print errno when reporting a system call error
[gitweb.git]
/
commit.c
diff --git
a/commit.c
b/commit.c
index 73c78c2b80c1a21e83f1942347a76fb76511a0d3..3eeda081f9bf9a765f41d44579cf5ee016bae129 100644
(file)
--- a/
commit.c
+++ b/
commit.c
@@
-167,7
+167,7
@@
struct commit_graft *read_graft_line(char *buf, int len)
static int read_graft_file(const char *graft_file)
{
- FILE *fp = fopen(graft_file, "r");
+ FILE *fp = fopen
_or_warn
(graft_file, "r");
struct strbuf buf = STRBUF_INIT;
if (!fp)
return -1;