Convert errx() to printerr() - 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 51940c0f0f8def58517f3ef932b9b657cf556f18 DIR parent db110c100aa41ddad498d85c6ffd537f9d7d5aca HTML Author: sin <sin@2f30.org> Date: Sun, 12 May 2019 19:40:04 +0100 Convert errx() to printerr() Diffstat: M dup-rm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/dup-rm.c b/dup-rm.c @@ -50,7 +50,7 @@ loadkey(char *keyfile) if (fd < 0) err(1, "open: %s", keyfile); if (readkey(fd, param.key, sizeof(param.key)) < 0) - errx(1, "readkey: failed"); + printerr("readkey: %s", keyfile); param.keyloaded = 1; if (close(fd) < 0) err(1, "close: %s", keyfile);