summaryrefslogtreecommitdiff
path: root/usr.sbin/arp/arp.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-09-12 04:07:24 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-09-12 04:07:24 +0000
commit4ce9e5126b2a7866026b751775921181dd268138 (patch)
treea27bf0713e9a37ca10068e3bb66f41c3c84456d3 /usr.sbin/arp/arp.c
parentdd4c5253ba39d52ccb95112c5b7c973f94cba86d (diff)
Kill extra newline in err()/warn().
Diffstat (limited to 'usr.sbin/arp/arp.c')
-rw-r--r--usr.sbin/arp/arp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c
index bf43bd790f5..c60e91739ff 100644
--- a/usr.sbin/arp/arp.c
+++ b/usr.sbin/arp/arp.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: arp.c,v 1.8 1997/09/12 04:07:16 millert Exp $ */
/* $NetBSD: arp.c,v 1.12 1995/04/24 13:25:18 cgd Exp $ */
/*
@@ -518,7 +519,7 @@ getinetaddr(host, inap)
if (inet_aton(host, inap) == 1)
return (0);
if ((hp = gethostbyname(host)) == NULL) {
- warnx("%s: %s\n", host, hstrerror(h_errno));
+ warnx("%s: %s", host, hstrerror(h_errno));
return (-1);
}
(void)memcpy(inap, hp->h_addr, sizeof(*inap));