Use err() instead of errx() - 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 fa3392dd36c100366d2c4d25e5e045d476ff940e
DIR parent d43a1c4be547a75c9ae32fb6a113111ed34f2636
HTML Author: sin <sin@2f30.org>
Date: Sat, 2 Mar 2019 15:34:17 +0000
Use err() instead of errx()
Diffstat:
M dedup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR 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();