dedup

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

commit a418e1982015c28bdca5d2ea67976c0e40f053ac
parent 1d2884eaed1369060c8fa872fc15b0c4dfefa090
Author: sin <sin@2f30.org>
Date:   Tue, 14 May 2019 14:28:08 +0300

Style fix

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

diff --git a/dup-check.c b/dup-check.c @@ -132,7 +132,7 @@ main(int argc, char *argv[]) if (sopen(spath, S_READ, 0600, &sctx) < 0) printerr("sopen: %s", spath); - if (bopen(bpath, B_READ, 0600, &bctx) <0) + if (bopen(bpath, B_READ, 0600, &bctx) < 0) printerr("bopen: %s", bpath); check(sctx, bctx); diff --git a/dup-pack.c b/dup-pack.c @@ -133,7 +133,7 @@ main(int argc, char *argv[]) if (screat(spath, 0600, &sctx) < 0) printerr("screat: %s", spath); - if (bopen(bpath, B_RDWR, 0600, &bctx) <0) + if (bopen(bpath, B_RDWR, 0600, &bctx) < 0) printerr("bopen: %s", bpath); pack(sctx, bctx); diff --git a/dup-rm.c b/dup-rm.c @@ -121,7 +121,7 @@ main(int argc, char *argv[]) if (sopen(spath, S_READ, 0600, &sctx) < 0) printerr("sopen: %s", spath); - if (bopen(bpath, B_RDWR, 0600, &bctx) <0) + if (bopen(bpath, B_RDWR, 0600, &bctx) < 0) printerr("bopen: %s", bpath); rm(sctx, bctx); diff --git a/dup-unpack.c b/dup-unpack.c @@ -130,7 +130,7 @@ main(int argc, char *argv[]) if (sopen(spath, S_READ, 0600, &sctx) < 0) printerr("sopen: %s", spath); - if (bopen(bpath, B_READ, 0600, &bctx) <0) + if (bopen(bpath, B_READ, 0600, &bctx) < 0) printerr("bopen: %s", bpath); unpack(sctx, bctx);