Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Grammar fixes to "merge" and "patch-id" docs
[gitweb.git]
/
sha1_file.c
diff --git
a/sha1_file.c
b/sha1_file.c
index 456317356f323eb744c207d787a2e7598ad9601e..54972f97e004e2794416baac2f79806a608dc88e 100644
(file)
--- a/
sha1_file.c
+++ b/
sha1_file.c
@@
-2287,7
+2287,7
@@
static void close_sha1_file(int fd)
fsync_or_die(fd, "sha1 file");
fchmod(fd, 0444);
if (close(fd) != 0)
- die("
unable to write sha1 file"
);
+ die("
error when closing sha1 file (%s)", strerror(errno)
);
}
/* Size of directory component, including the ending '/' */