Skip to content

Commit

Permalink
linux-user: fix ppc/termbits.h
Browse files Browse the repository at this point in the history
On ppc, in termios, c_line is after c_cc, not before .

Fixes: c218b4e ("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>
  • Loading branch information
vivier committed Sep 6, 2020
1 parent a7b4c9b commit 4d6e318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux-user/ppc/termbits.h
Expand Up @@ -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 */
};
Expand Down

0 comments on commit 4d6e318

Please sign in to comment.