From: jca Date: Tue, 27 Oct 2015 11:47:17 +0000 (+0000) Subject: Consistency in error messages. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d967a928217c78f517d19436950b8f14bdae064f;p=openbsd Consistency in error messages. No functional change. --- 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++) {