Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb.js: fix padLeftStr() and its usage
[gitweb.git]
/
ll-merge.c
diff --git
a/ll-merge.c
b/ll-merge.c
index a2c13c4c087f7b4961f0507783d34d19ff4b2921..0571564ddfb336247c8268fbdecd8674d8bacd3e 100644
(file)
--- a/
ll-merge.c
+++ b/
ll-merge.c
@@
-152,7
+152,7
@@
static void create_temp(mmfile_t *src, char *path)
strcpy(path, ".merge_file_XXXXXX");
fd = xmkstemp(path);
if (write_in_full(fd, src->ptr, src->size) != src->size)
- die("unable to write temp-file");
+ die
_errno
("unable to write temp-file");
close(fd);
}