dedup

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

commit a6f3624b616e46d60875a82ddc5cd5ce6f62dfbd
parent eb053ea02848331d866e5fd13be344b5029eb9d3
Author: sin <sin@2f30.org>
Date:   Thu, 25 Apr 2019 13:56:54 +0100

Fix typo

Diffstat:
Mbstorage.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bstorage.c b/bstorage.c @@ -398,7 +398,7 @@ bsopen(struct bctx *bctx, char *path, int flags, int mode, struct bparam *bpar) calgo = (bhdr->flags >> CALGOSHIFT) & CALGOMASK; bpar->calgo = ctbl[calgo]; halgo = (bhdr->flags >> CALGOSHIFT) & CALGOMASK; - bpar->halgo = ctbl[halgo]; + bpar->halgo = htbl[halgo]; sctx->fd = fd; sctx->rdonly = flags == O_RDONLY;