summaryrefslogtreecommitdiff
path: root/usr/src/boot/lib/libstand/arp.c
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2019-03-07 12:51:11 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2019-03-07 12:51:11 +0000
commit7e3d90a64c293c5a7a722cf739fb36461f13ff0f (patch)
tree46d1352223f1d14ea4aa6d741953e2606c59ac34 /usr/src/boot/lib/libstand/arp.c
parentb4bede175d4c50ac1b36078a677b69388f6fb59f (diff)
parent96cf04672307d7aacdfa73ae214d34affe5a218b (diff)
downloadillumos-joyent-7e3d90a64c293c5a7a722cf739fb36461f13ff0f.tar.gz
[illumos-gate merge]
commit 96cf04672307d7aacdfa73ae214d34affe5a218b 10454 loader: panic does add newline for us commit 3c30f56df862431210f98c7c8f13cf1362b9c574 10471 ld(1) amd64 LD->LE TLS transition causes memory corruption commit 4db555a5389470c6f15aa8b50a38ca5d533d0641 10367 ld(1) tests should be a real test suite 10368 want an ld(1) regression test for i386 LD tls transition (10267)
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