diff options
author | Arnaud Patard <arnaud.patard@rtp-net.org> | 2009-04-21 17:39:08 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@nokia.com> | 2009-06-16 16:56:28 +0300 |
commit | 44607123c4f8393b9fcbbb63274f5f9dcbeaae21 (patch) | |
tree | 1bb39f0bb7bc6e2ac157917fb2ebad704ce70ca6 /module.c | |
parent | ebc996f3b13004e7272c462254522ba0102f09fe (diff) |
Fix struct termios host - target translation
When converting the termios structure between host and target in
target_to_host_termios and host_to_target_termios, the c_cc[] array is
never initialised.
Calling memset() before using it allows to run successfully "stty echo /
stty -echo" on arm-linux-user target (host being x86 and mips).
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Diffstat (limited to 'module.c')
0 files changed, 0 insertions, 0 deletions