mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Exit if output speed cannot be set.
This commit is contained in:
parent
39a8f63640
commit
ad7b11e6e8
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,7 @@ void tty_configure(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set output speed
|
// Set output speed
|
||||||
cfsetospeed(&tio, baudrate);
|
status = cfsetospeed(&tio, baudrate);
|
||||||
if (status == -1)
|
if (status == -1)
|
||||||
{
|
{
|
||||||
error_printf("Could not configure output speed (%s)", strerror(errno));
|
error_printf("Could not configure output speed (%s)", strerror(errno));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue