summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpctl/ldpctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ldpctl/ldpctl.c')
-rw-r--r--usr.sbin/ldpctl/ldpctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldpctl/ldpctl.c b/usr.sbin/ldpctl/ldpctl.c
index 1b9571e863c..5319bcf9aeb 100644
--- a/usr.sbin/ldpctl/ldpctl.c
+++ b/usr.sbin/ldpctl/ldpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldpctl.c,v 1.35 2024/11/21 13:21:34 claudio Exp $
+/* $OpenBSD: ldpctl.c,v 1.36 2024/11/21 13:26:25 claudio Exp $
*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -211,7 +211,7 @@ main(int argc, char *argv[])
while (!done) {
if ((n = imsgbuf_read(ibuf)) == -1)
- errx(1, "imsgbuf_read error");
+ err(1, "read error");
if (n == 0)
errx(1, "pipe closed");