diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-12 15:00:36 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-12 15:00:36 +0000 |
commit | c3b972c30d9052df7eb535a14b4e2c8c6bb12743 (patch) | |
tree | 13f3965d1dea53ea9e112a11b550a1c9f01c3fc7 /qemu-char.c | |
parent | dccfec679e558b22b4f0e5970c951e99df668ddf (diff) |
fix some variable initizalization issues (Stefano Stabellini)
this patch fixes two variable initialization issues.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5705 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-char.c')
-rw-r--r-- | qemu-char.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-char.c b/qemu-char.c index ad57948173..2cf8644542 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -941,6 +941,7 @@ static CharDriverState *qemu_chr_open_pty(void) } /* Set raw attributes on the pty. */ + tcgetattr(slave_fd, &tty); cfmakeraw(&tty); tcsetattr(slave_fd, TCSAFLUSH, &tty); close(slave_fd); |