commit 51940c0f0f8def58517f3ef932b9b657cf556f18
parent db110c100aa41ddad498d85c6ffd537f9d7d5aca
Author: sin <sin@2f30.org>
Date: Sun, 12 May 2019 19:40:04 +0100
Convert errx() to printerr()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
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);