summaryrefslogtreecommitdiffstats
path: root/usr.sbin/arp/arp.c
diff options
context:
space:
mode:
authormpech <mpech@openbsd.org>2002-03-14 06:51:41 +0000
committermpech <mpech@openbsd.org>2002-03-14 06:51:41 +0000
commit46347781a5e6cfbee8d0b55754cca7263af44d38 (patch)
treecd69bc92d20e3feea945a88fb926a9faeedfdc42 /usr.sbin/arp/arp.c
parentthis mod has nothing to do w/ ptrace option addition, did not even compile (diff)
downloadwireguard-openbsd-46347781a5e6cfbee8d0b55754cca7263af44d38.tar.xz
wireguard-openbsd-46347781a5e6cfbee8d0b55754cca7263af44d38.zip
Remove \n from err/errx/warn/warnx().
millert@ ok
Diffstat (limited to 'usr.sbin/arp/arp.c')
-rw-r--r--usr.sbin/arp/arp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c
index f8db75e98ad..6e4c0ee6c6d 100644
--- a/usr.sbin/arp/arp.c
+++ b/usr.sbin/arp/arp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arp.c,v 1.19 2002/02/16 21:28:00 millert Exp $ */
+/* $OpenBSD: arp.c,v 1.20 2002/03/14 06:51:42 mpech Exp $ */
/* $NetBSD: arp.c,v 1.12 1995/04/24 13:25:18 cgd Exp $ */
/*
@@ -45,7 +45,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)arp.c 8.2 (Berkeley) 1/2/94";*/
-static char *rcsid = "$OpenBSD: arp.c,v 1.19 2002/02/16 21:28:00 millert Exp $";
+static char *rcsid = "$OpenBSD: arp.c,v 1.20 2002/03/14 06:51:42 mpech Exp $";
#endif /* not lint */
/*
@@ -260,7 +260,7 @@ set(argc, argv)
return (1);
ea = ether_aton(eaddr);
if (ea == NULL)
- errx(1, "invalid ethernet address: %s\n", eaddr);
+ errx(1, "invalid ethernet address: %s", eaddr);
memcpy(LLADDR(&sdl_m), ea, sizeof(*ea));
sdl_m.sdl_alen = 6;
doing_proxy = flags = export_only = expire_time = 0;