Fix a place that wasn't checking for disk write errors

This commit is contained in:
Eric Fischer 2015-05-20 18:04:34 -07:00
parent 901f6a76b6
commit 38dc80ec68

View File

@ -341,7 +341,7 @@ static void merge(struct merge *merges, int nmerges, unsigned char *map, FILE *f
}
while (head != NULL) {
fwrite(map + head->start, bytes, 1, f);
fwrite_check(map + head->start, bytes, 1, f, "merge temporary");
head->start += bytes;
struct merge *m = head;