bsdiff-portable

A more portable version of Colin Percival's bsdiff
git clone git://git.sgregoratto.me/bsdiff-portable
Log | Files | Refs | README | LICENSE

commit 70436d229d0fe1b6bc62fb5b254449e92b9da29d
parent 78c49155dd0a40045b368134a3c7119642998d4e
Author: Stephen Gregoratto <dev@sgregoratto.me>
Date:   Fri, 25 Sep 2020 13:30:38 +1000

bspatch: fix some error messages

Diffstat:
Mbspatch.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bspatch.c b/bspatch.c @@ -213,9 +213,9 @@ main(int argc, char **argv) /* Write the new file */ if (fwrite(new, 1, newsize, newfile) != (size_t)newsize) - err(1, "write(%s, %lld)", argv[2], (long long)newsize); + err(1, "fwrite(%s, %lld)", argv[2], (long long)newsize); if (fclose(newfile) == -1) - err(1, "close(%s)", argv[2]); + err(1, "fclose(%s)", argv[2]); free(new); free(old);