diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-01-11 05:12:41 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-01-11 05:12:41 +0000 |
commit | b3067fd524234e263e58b215d0fb24d414bf1c34 (patch) | |
tree | 5c1576265dded5700ab387af81051fabd39f3396 /sys/lib/libsa/arp.c | |
parent | 9ee95b4b405b050512cf782b508d774f4601a6b5 (diff) |
panic prints a newline for you, don't do it in the panic string
Diffstat (limited to 'sys/lib/libsa/arp.c')
-rw-r--r-- | sys/lib/libsa/arp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/lib/libsa/arp.c b/sys/lib/libsa/arp.c index 46fd2d0003e..4fb93c8cbd6 100644 --- a/sys/lib/libsa/arp.c +++ b/sys/lib/libsa/arp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arp.c,v 1.6 1998/02/23 20:32:18 niklas Exp $ */ +/* $OpenBSD: arp.c,v 1.7 1999/01/11 05:12:25 millert Exp $ */ /* $NetBSD: arp.c,v 1.15 1996/10/13 02:28:58 christos Exp $ */ /* @@ -126,8 +126,7 @@ arpwhohas(d, addr) arpsend, &wbuf.data, sizeof(wbuf.data), arprecv, &rbuf.data, sizeof(rbuf.data)); if (i == -1) { - panic("arp: no response for %s\n", - inet_ntoa(addr)); + panic("arp: no response for %s", inet_ntoa(addr)); } /* Store ethernet address in cache */ |