From 4e1b19f386371e61a7a00f31b44cb54feb562eec Mon Sep 17 00:00:00 2001 From: linzhenxing Date: Mon, 11 Apr 2022 09:47:03 +0800 Subject: [PATCH] =?UTF-8?q?tty=20debug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/drivers/tty/tty_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/drivers/tty/tty_ioctl.c b/components/drivers/tty/tty_ioctl.c index fb178a65ac..4f7ea174a9 100644 --- a/components/drivers/tty/tty_ioctl.c +++ b/components/drivers/tty/tty_ioctl.c @@ -56,7 +56,7 @@ static int set_termios(struct tty_struct *tty, void *arg, int opt) { if (ld->ops->set_termios) { - ld->ops->set_termios(tty, old_termios); + ld->ops->set_termios(tty, &old_termios); } } return 0; -- Gitee