tUse err() instead of errx() - dedup - deduplicating backup program
(HTM) git clone git://git.z3bra.org/dedup.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit fa3392dd36c100366d2c4d25e5e045d476ff940e
(DIR) parent d43a1c4be547a75c9ae32fb6a113111ed34f2636
(HTM) 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
t@@ -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();