diff options
Diffstat (limited to 'usr.bin/script/script.c')
-rw-r--r-- | usr.bin/script/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/script/script.c b/usr.bin/script/script.c index b6a59c8..20c6a01 100644 --- a/usr.bin/script/script.c +++ b/usr.bin/script/script.c @@ -185,7 +185,7 @@ main(argc, argv) cc = read(master, obuf, sizeof (obuf)); if (cc <= 0) break; - (void)write(1, obuf, cc); + (void)write(STDOUT_FILENO, obuf, cc); (void)fwrite(obuf, 1, cc, fscript); } tvec = time(0); |