summaryrefslogtreecommitdiffstats
path: root/linux-user/ppc
diff options
context:
space:
mode:
authorLaurent Vivier2020-08-30 20:16:20 +0200
committerLaurent Vivier2020-09-06 12:29:19 +0200
commit4d6e318af00eab64977370163404fece78d56ef3 (patch)
treee501f33a0b12600e8c687de67f95ef668833f131 /linux-user/ppc
parentlinux-user: Map signal numbers in fcntl (diff)
downloadqemu-4d6e318af00eab64977370163404fece78d56ef3.tar.gz
qemu-4d6e318af00eab64977370163404fece78d56ef3.tar.xz
qemu-4d6e318af00eab64977370163404fece78d56ef3.zip
linux-user: fix ppc/termbits.h
On ppc, in termios, c_line is after c_cc, not before . Fixes: c218b4ede4f9 ("linux-user: Add missing termbits types and values definitions") Cc: Filip.Bozuta@syrmia.com Signed-off-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20200830181620.422036-1-laurent@vivier.eu> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/ppc')
-rw-r--r--linux-user/ppc/termbits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/ppc/termbits.h b/linux-user/ppc/termbits.h
index 7066d1e552..eb226e0999 100644
--- a/linux-user/ppc/termbits.h
+++ b/linux-user/ppc/termbits.h
@@ -14,8 +14,8 @@ struct target_termios {
target_tcflag_t c_oflag; /* output mode flags */
target_tcflag_t c_cflag; /* control mode flags */
target_tcflag_t c_lflag; /* local mode flags */
- target_cc_t c_line; /* line discipline */
target_cc_t c_cc[TARGET_NCCS]; /* control characters */
+ target_cc_t c_line; /* line discipline */
target_speed_t c_ispeed; /* input speed */
target_speed_t c_ospeed; /* output speed */
};