Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
init-db: migrate to parse-options
[gitweb.git]
/
sha1_file.c
diff --git
a/sha1_file.c
b/sha1_file.c
index 8f5fe62d545ace21c338cd554c76bac5d5acb431..4576ff77f3ceec7231b14261f7386abb2289cd5c 100644
(file)
--- a/
sha1_file.c
+++ b/
sha1_file.c
@@
-2286,7
+2286,7
@@
static void close_sha1_file(int fd)
if (fsync_object_files)
fsync_or_die(fd, "sha1 file");
if (close(fd) != 0)
- die
("error when closing sha1 file (%s)", strerror(errno)
);
+ die
_errno("error when closing sha1 file"
);
}
/* Size of directory component, including the ending '/' */