diff options
author | 2009-10-23 16:00:28 +0000 | |
---|---|---|
committer | 2009-10-23 16:00:28 +0000 | |
commit | 09fbff4edc8d68cc31cfcbad6234f91c9cde5f06 (patch) | |
tree | b916acc0bc39cbe7660b466ffc3d985d43c1f243 | |
parent | Support the bright fg/bg colour SGR 90-97 and 100-107. (diff) | |
download | wireguard-openbsd-09fbff4edc8d68cc31cfcbad6234f91c9cde5f06.tar.xz wireguard-openbsd-09fbff4edc8d68cc31cfcbad6234f91c9cde5f06.zip |
errx -> err since the errno is set.
-rw-r--r-- | usr.sbin/bgpctl/bgpctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c index 922db1c45b2..65c92bde8fa 100644 --- a/usr.sbin/bgpctl/bgpctl.c +++ b/usr.sbin/bgpctl/bgpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpctl.c,v 1.147 2009/09/15 09:45:12 sthen Exp $ */ +/* $OpenBSD: bgpctl.c,v 1.148 2009/10/23 16:00:28 claudio Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -304,13 +304,13 @@ main(int argc, char *argv[]) while (!done) { if ((n = imsg_read(ibuf)) == -1) - errx(1, "imsg_read error"); + err(1, "imsg_read error"); if (n == 0) errx(1, "pipe closed"); while (!done) { if ((n = imsg_get(ibuf, &imsg)) == -1) - errx(1, "imsg_get error"); + err(1, "imsg_get error"); if (n == 0) break; |