summaryrefslogtreecommitdiff
path: root/usr/src/boot/lib/libstand/arp.c
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-11-29 22:53:07 +0200
committerToomas Soome <tsoome@me.com>2019-03-07 07:31:20 +0200
commit96cf04672307d7aacdfa73ae214d34affe5a218b (patch)
treefda18f2c4d7f28f4f3de75acda72bccea393125b /usr/src/boot/lib/libstand/arp.c
parent3c30f56df862431210f98c7c8f13cf1362b9c574 (diff)
downloadillumos-joyent-96cf04672307d7aacdfa73ae214d34affe5a218b.tar.gz
10454 loader: panic does add newline for us
Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/boot/lib/libstand/arp.c')
-rw-r--r--usr/src/boot/lib/libstand/arp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/src/boot/lib/libstand/arp.c b/usr/src/boot/lib/libstand/arp.c
index 4280b90575..7f836689c8 100644
--- a/usr/src/boot/lib/libstand/arp.c
+++ b/usr/src/boot/lib/libstand/arp.c
@@ -118,9 +118,8 @@ arpwhohas(struct iodesc *d, struct in_addr addr)
i = sendrecv(d,
arpsend, &wbuf.data, sizeof (wbuf.data),
arprecv, &pkt, (void **)&ah, NULL);
- if (i == -1) {
- panic("arp: no response for %s\n", inet_ntoa(addr));
- }
+ if (i == -1)
+ panic("arp: no response for %s", inet_ntoa(addr));
/* Store ethernet address in cache */
#ifdef ARP_DEBUG