Rename bparam to bpar to be consistent - dedup - deduplicating backup program
HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 847cf8d109bd0e6ac51fa6a76b14e5e08ccd9c39
DIR parent 115fc777eeeef685fee0f6ef3b7d2c182b03c1ed
HTML Author: sin <sin@2f30.org>
Date: Thu, 2 May 2019 15:00:35 +0100
Rename bparam to bpar to be consistent
Diffstat:
M dup-check.c | 4 ++--
M dup-rm.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
DIR 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)
DIR 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)