From 4ce9e5126b2a7866026b751775921181dd268138 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 12 Sep 1997 04:07:24 +0000 Subject: Kill extra newline in err()/warn(). --- usr.sbin/arp/arp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/arp/arp.c') 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)); -- cgit v1.2.3