From ee5b7f1de95cbed82fad08112821dd81cdc66d0f Mon Sep 17 00:00:00 2001 From: zhujiale <945386260@qq.com> Date: Wed, 11 Dec 2024 16:16:29 +0800 Subject: [PATCH] [lwp] fix TTYSUP_CFLAG did not include CBAUD flag --- components/lwp/terminal/freebsd/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lwp/terminal/freebsd/tty.c b/components/lwp/terminal/freebsd/tty.c index cdd90062790..e5a6e79f13c 100644 --- a/components/lwp/terminal/freebsd/tty.c +++ b/components/lwp/terminal/freebsd/tty.c @@ -73,7 +73,7 @@ static const char *dev_console_filename; #define TTYSUP_CFLAG \ (CIGNORE | CSIZE | CSTOPB | CREAD | PARENB | PARODD | HUPCL | CLOCAL | \ CCTS_OFLOW | CRTS_IFLOW | CDTR_IFLOW | CDSR_OFLOW | CCAR_OFLOW | \ - CNO_RTSDTR) + CNO_RTSDTR | CBAUD) /* * Set TTY buffer sizes.