diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2014-03-10 19:56:59 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2014-03-10 19:56:59 +0000 |
commit | 69b949f2ed44bccb1db3847cb2b02ecc9a13876b (patch) | |
tree | 5d41dd0aaf0e1ac497e72d39bb988264f21a42de /usr.sbin/traceroute6 | |
parent | 2b3f3db2131d9b9b6493c4ddea2609443825addf (diff) |
10_setvbuf.msg
Diffstat (limited to 'usr.sbin/traceroute6')
-rw-r--r-- | usr.sbin/traceroute6/traceroute6.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/traceroute6/traceroute6.c b/usr.sbin/traceroute6/traceroute6.c index 5f5d8507c4b..265051d3924 100644 --- a/usr.sbin/traceroute6/traceroute6.c +++ b/usr.sbin/traceroute6/traceroute6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: traceroute6.c,v 1.58 2014/01/24 15:28:03 florian Exp $ */ +/* $OpenBSD: traceroute6.c,v 1.59 2014/03/10 19:56:58 florian Exp $ */ /* $KAME: traceroute6.c,v 1.63 2002/10/24 12:53:25 itojun Exp $ */ /* @@ -517,11 +517,7 @@ main(int argc, char *argv[]) if (argc < 1 || argc > 2) usage(); -#if 1 - setvbuf(stdout, NULL, _IOLBF, BUFSIZ); -#else - setlinebuf(stdout); -#endif + setvbuf(stdout, NULL, _IOLBF, 0); memset(&hints, 0, sizeof(hints)); hints.ai_family = PF_INET6; |