diff options
author | florian <florian@openbsd.org> | 2015-08-30 22:10:57 +0000 |
---|---|---|
committer | florian <florian@openbsd.org> | 2015-08-30 22:10:57 +0000 |
commit | 98b2cf618d8a4855749539059c017e8559dff715 (patch) | |
tree | 0e504f4663c0cdedad2d42bf42b91a3b90a148e1 | |
parent | Drop leading, internal, and trailing blank characters in \o (overstrike) (diff) | |
download | wireguard-openbsd-98b2cf618d8a4855749539059c017e8559dff715.tar.xz wireguard-openbsd-98b2cf618d8a4855749539059c017e8559dff715.zip |
warnx(3) has an implicit \n at the end.
pointed out by deraadt@
-rw-r--r-- | usr.sbin/traceroute/traceroute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/traceroute/traceroute.c b/usr.sbin/traceroute/traceroute.c index 1418ff0a069..2e8ceda859c 100644 --- a/usr.sbin/traceroute/traceroute.c +++ b/usr.sbin/traceroute/traceroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: traceroute.c,v 1.140 2015/07/16 22:47:46 florian Exp $ */ +/* $OpenBSD: traceroute.c,v 1.141 2015/08/30 22:10:57 florian Exp $ */ /* $NetBSD: traceroute.c,v 1.10 1995/05/21 15:50:45 mycroft Exp $ */ /* @@ -639,7 +639,7 @@ main(int argc, char *argv[]) sizeof(hbuf), NULL, 0, NI_NUMERICHOST) != 0) strlcpy(hbuf, "?", sizeof(hbuf)); warnx("Warning: %s has multiple " - "addresses; using %s\n", hostname, hbuf); + "addresses; using %s", hostname, hbuf); } freeaddrinfo(res); |