mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fixed some error prints
This commit is contained in:
parent
dd49d07547
commit
79adb44d1b
2 changed files with 6 additions and 5 deletions
|
|
@ -245,7 +245,7 @@ int connect_tty(void)
|
|||
status = flock(fd, LOCK_EX | LOCK_NB);
|
||||
if ((status == -1) && (errno == EWOULDBLOCK))
|
||||
{
|
||||
printf("Error: Device file is locked by another process\r\n");
|
||||
error_printf("Device file is locked by another process");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue