X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=combine-diff.c;h=5b63af1eeb71907f23117bc552fa7a4019f09722;hb=da8ba5e7da01be597aa9417c563dbd516ea5f204;hp=1a6f9d1df5b7dcafbdaa2d64c45554e129972be2;hpb=b810cbbde9232cbe9a3841edccc5b606bbd3a82e;p=git.git diff --git a/combine-diff.c b/combine-diff.c index 1a6f9d1df..5b63af1ee 100644 --- a/combine-diff.c +++ b/combine-diff.c @@ -745,7 +745,7 @@ static void show_patch_diff(struct combine_diff_path *elem, int num_parent, done = read_in_full(fd, result, len); if (done < 0) - die("read error '%s'", elem->path); + die_errno("read error '%s'", elem->path); else if (done < len) die("early EOF '%s'", elem->path);