mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Improve warning upon failing connect
Add device path to warning when connect fails.
This commit is contained in:
parent
2a1dae6336
commit
da9f7a6540
1 changed files with 1 additions and 1 deletions
|
|
@ -2107,7 +2107,7 @@ void tty_wait_for_device(void)
|
|||
}
|
||||
else if (last_errno != errno)
|
||||
{
|
||||
tio_warning_printf("Could not open tty device (%s)", strerror(errno));
|
||||
tio_warning_printf("Could not open %s (%s)", device_name, strerror(errno));
|
||||
tio_printf("Waiting for tty device..");
|
||||
last_errno = errno;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue