diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2015-10-27 11:47:18 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2015-10-27 11:47:18 +0000 |
commit | f718d9e061b794bc8f132704e0dcf516006fbf3b (patch) | |
tree | 3e77ebc9bd2e2effca8f46976b58e0f12582139a /usr.sbin | |
parent | 931aa3112215a67bda2355a47f4b2892e35007cf (diff) |
Consistency in error messages.
No functional change.
Diffstat (limited to 'usr.sbin')
-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++) { |