mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
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
This commit is contained in:
parent
dccfec679e
commit
c3b972c30d
2 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue