X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=rerere.c;h=29f95f657d04300e375d007e9d01832b89311602;hb=e481b1d8db9947681a5c124545ef06951f42155d;hp=87360dc23e54aabf47b3bda160e58058507d4a2f;hpb=3ed24211d48d9a297b3784347acbf7e0265a58f3;p=git.git diff --git a/rerere.c b/rerere.c index 87360dc23..29f95f657 100644 --- a/rerere.c +++ b/rerere.c @@ -61,7 +61,7 @@ static int write_rr(struct string_list *rr, int out_fd) path = rr->items[i].string; length = strlen(path) + 1; if (write_in_full(out_fd, rr->items[i].util, 40) != 40 || - write_in_full(out_fd, "\t", 1) != 1 || + write_str_in_full(out_fd, "\t") != 1 || write_in_full(out_fd, path, length) != length) die("unable to write rerere record"); }