dedup

deduplicating backup program
git clone git://git.2f30.org/dedup.git
Log | Files | Refs | README | LICENSE

commit 847cf8d109bd0e6ac51fa6a76b14e5e08ccd9c39
parent 115fc777eeeef685fee0f6ef3b7d2c182b03c1ed
Author: sin <sin@2f30.org>
Date:   Thu,  2 May 2019 15:00:35 +0100

Rename bparam to bpar to be consistent

Diffstat:
Mdup-check.c | 4++--
Mdup-rm.c | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dup-check.c b/dup-check.c @@ -43,7 +43,7 @@ main(int argc, char *argv[]) char bpath[PATH_MAX]; struct sctx *sctx; struct bctx *bctx; - struct bparam bparam; + struct bparam bpar; char *repo = "."; ARGBEGIN { @@ -69,7 +69,7 @@ main(int argc, char *argv[]) if (sopen(spath, S_READ, 0600, &sctx) < 0) errx(1, "sopen: %s: failed", spath); - if (bopen(bpath, B_READ, 0600, &bparam, &bctx) <0) + if (bopen(bpath, B_READ, 0600, &bpar, &bctx) <0) errx(1, "bopen: %s: failed", bpath); if (check(sctx, bctx) < 0) diff --git a/dup-rm.c b/dup-rm.c @@ -44,7 +44,7 @@ main(int argc, char *argv[]) char bpath[PATH_MAX]; struct sctx *sctx; struct bctx *bctx; - struct bparam bparam; + struct bparam bpar; char *repo = "."; ARGBEGIN { @@ -70,7 +70,7 @@ main(int argc, char *argv[]) if (sopen(spath, S_READ, 0600, &sctx) < 0) errx(1, "sopen: %s: failed", spath); - if (bopen(bpath, B_RDWR, 0600, &bparam, &bctx) <0) + if (bopen(bpath, B_RDWR, 0600, &bpar, &bctx) <0) errx(1, "bopen: %s: failed", bpath); if (rm(sctx, bctx) < 0)