From 96cf04672307d7aacdfa73ae214d34affe5a218b Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Thu, 29 Nov 2018 22:53:07 +0200 Subject: 10454 loader: panic does add newline for us Reviewed by: John Levon Reviewed by: Andy Stormont Reviewed by: Gergő Mihály Doma Reviewed by: Andy Fiddaman Approved by: Richard Lowe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/src/boot/lib/libstand/arp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr/src/boot/lib/libstand/arp.c') 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 -- cgit v1.2.3