aboutsummaryrefslogtreecommitdiffstats
path: root/src/tee.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tee.c')
-rw-r--r--src/tee.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tee.c b/src/tee.c
index f612181f7..d21edbc04 100644
--- a/src/tee.c
+++ b/src/tee.c
@@ -161,7 +161,7 @@ tee_files (int nfiles, const char **files)
the first one correspond to standard output. */
descriptors[0] = stdout;
files[0] = _("standard output");
- SETVBUF (stdout, NULL, _IONBF, 0);
+ setvbuf (stdout, NULL, _IONBF, 0);
for (i = 1; i <= nfiles; i++)
{
@@ -174,7 +174,7 @@ tee_files (int nfiles, const char **files)
ok = false;
}
else
- SETVBUF (descriptors[i], NULL, _IONBF, 0);
+ setvbuf (descriptors[i], NULL, _IONBF, 0);
}
while (1)