diff options
author | jca <jca@openbsd.org> | 2015-10-27 11:47:17 +0000 |
---|---|---|
committer | jca <jca@openbsd.org> | 2015-10-27 11:47:17 +0000 |
commit | d967a928217c78f517d19436950b8f14bdae064f (patch) | |
tree | 86d54fc993fe9b86b8e08a88bbdb95c816aa6d52 /usr.sbin/rarpd | |
parent | Sync chacha_ivsetup to the version in ssh so that we could (diff) | |
download | wireguard-openbsd-d967a928217c78f517d19436950b8f14bdae064f.tar.xz wireguard-openbsd-d967a928217c78f517d19436950b8f14bdae064f.zip |
Consistency in error messages.
No functional change.
Diffstat (limited to 'usr.sbin/rarpd')
-rw-r--r-- | usr.sbin/rarpd/rarpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rarpd/rarpd.c b/usr.sbin/rarpd/rarpd.c index 4cf9a0051af..00872a3723f 100644 --- a/usr.sbin/rarpd/rarpd.c +++ b/usr.sbin/rarpd/rarpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rarpd.c,v 1.64 2015/10/26 10:08:14 jung Exp $ */ +/* $OpenBSD: rarpd.c,v 1.65 2015/10/27 11:47:17 jca Exp $ */ /* $NetBSD: rarpd.c,v 1.25 1998/04/23 02:48:33 mrg Exp $ */ /* @@ -381,7 +381,7 @@ rarp_loop(void) numfd++; pfd = reallocarray(NULL, numfd, sizeof(*pfd)); if (pfd == NULL) { - error(FATAL, "malloc: %s", strerror(errno)); + error(FATAL, "reallocarray: %s", strerror(errno)); /* NOTREACHED */ } for (i = 0, ii = iflist; ii; ii = ii->ii_next, i++) { @@ -393,7 +393,7 @@ rarp_loop(void) if (poll(pfd, numfd, -1) == -1) { if (errno == EINTR) continue; - error(FATAL, "select: %s", strerror(errno)); + error(FATAL, "poll: %s", strerror(errno)); /* NOTREACHED */ } for (i = 0, ii = iflist; ii; ii = ii->ii_next, i++) { |