summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-11-09 18:05:58 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-11-09 18:05:58 +0000
commitf35db35223b2f74a59f17bf91972e9758f42ff0d (patch)
tree11c9302c61f6b06c243fbdb1e65dd19fe1142996
parent4cc6088ca8a8585b2de01c2f80cc2eab74aca493 (diff)
fsync() on a tty is meaningless; ok deraadt@
-rw-r--r--usr.bin/less/screen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/less/screen.c b/usr.bin/less/screen.c
index 992243d52fb..5170e116cb8 100644
--- a/usr.bin/less/screen.c
+++ b/usr.bin/less/screen.c
@@ -157,7 +157,6 @@ raw_mode(int on)
s = save_term;
}
(void) tcsetattr(tty, TCSASOFT | TCSADRAIN, &s);
- (void) fsync(tty);
curr_on = on;
}