aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-18 16:35:27 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-18 16:35:27 +0000
commitb68558517e8286e9d737e4f351939b86ff3892ec (patch)
tree53fb42a35b9574dde0107e9aa23b11e41c3b498c /vl.c
parentfd58ff9dc7bcb5a795eca12e8d8ccd467f54df50 (diff)
Do not call fcntl(, O_NONBLOCK) pointlessly, by Ian Jackson.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4889 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 59e58a119a..b6d65a0ef1 100644
--- a/vl.c
+++ b/vl.c
@@ -2573,7 +2573,6 @@ static CharDriverState *qemu_chr_open_tty(const char *filename)
int fd;
TFR(fd = open(filename, O_RDWR | O_NONBLOCK));
- fcntl(fd, F_SETFL, O_NONBLOCK);
tty_serial_init(fd, 115200, 'N', 8, 1);
chr = qemu_chr_open_fd(fd, fd);
if (!chr) {