X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=ll-merge.c;h=0571564ddfb336247c8268fbdecd8674d8bacd3e;hb=cfe370c6476392095bc3f18013d195b1cccd6184;hp=a2c13c4c087f7b4961f0507783d34d19ff4b2921;hpb=864cd9491772367b3ce5b0dda98f068e5bd49680;p=git.git diff --git a/ll-merge.c b/ll-merge.c index a2c13c4c0..0571564dd 100644 --- 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); }