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