diff options
Diffstat (limited to 'usr.bin/dc')
-rw-r--r-- | usr.bin/dc/dc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/dc/dc.c b/usr.bin/dc/dc.c index e131fe95024..eb5d661a51c 100644 --- a/usr.bin/dc/dc.c +++ b/usr.bin/dc/dc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dc.c,v 1.12 2014/05/20 01:25:23 guenther Exp $ */ +/* $OpenBSD: dc.c,v 1.13 2014/11/26 18:34:51 millert Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek <otto@drijf.net> @@ -72,8 +72,8 @@ main(int argc, char *argv[]) argv += optind; init_bmachine(extended_regs); - (void)setlinebuf(stdout); - (void)setlinebuf(stderr); + (void)setvbuf(stdout, NULL, _IOLBF, 0); + (void)setvbuf(stderr, NULL, _IOLBF, 0); if (argc > 1) usage(); |