Fixed some error prints

This commit is contained in:
Martin Lund 2016-05-18 22:24:24 +02:00
parent dd49d07547
commit 79adb44d1b
2 changed files with 6 additions and 5 deletions

View file

@ -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);
}