commit 22aeb4e58ca7663f0ae088447eb6b4b6bc4323c7
parent 6eb3e81b83abae886c41e9a60b35677cc0524bbc
Author: lostd <lostd@2f30.org>
Date: Sat, 28 Mar 2015 16:47:01 +0200
These should be errx(3) instead of err(3)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ceckb.c b/ceckb.c
@@ -202,9 +202,9 @@ setupcec(void)
/* Auto detect adapters */
n = cec_find_adapters(devs, LEN(devs), NULL);
if (n == -1)
- err(1, "find adapters");
+ errx(1, "find adapters");
if (n == 0)
- err(1, "no adapters found");
+ errx(1, "no adapters found");
DPRINTF_D(n);
/* Take the first */