dedup

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

commit fa3392dd36c100366d2c4d25e5e045d476ff940e
parent d43a1c4be547a75c9ae32fb6a113111ed34f2636
Author: sin <sin@2f30.org>
Date:   Sat,  2 Mar 2019 15:34:17 +0000

Use err() instead of errx()

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

diff --git a/dedup.c b/dedup.c @@ -555,7 +555,7 @@ init(int iflag) if (flock(ifd, LOCK_NB | LOCK_EX) < 0 || flock(sfd, LOCK_NB | LOCK_EX) < 0 || flock(cfd, LOCK_NB | LOCK_EX) < 0) - errx(1, "busy lock"); + err(1, "flock"); if (iflag) { init_snap_hdr();