dedup

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

commit 696c1e07ef2ef69da9050c37c346f6ec62fbeeb8
parent 2bd17f0fc119a96101741081d04a0d236bc96861
Author: sin <sin@2f30.org>
Date:   Fri, 26 Apr 2019 16:02:15 +0100

Fix allocation size

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

diff --git a/snap.c b/snap.c @@ -148,7 +148,7 @@ sopen(char *path, int flags, int mode, struct sctx **sctx) if (fd < 0) return -1; - *sctx = calloc(1, sizeof(*sctx)); + *sctx = calloc(1, sizeof(**sctx)); if (*sctx == NULL) { close(fd); return -1;