mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Cleanup
This commit is contained in:
parent
0985f70c13
commit
5d031a51f9
1 changed files with 2 additions and 2 deletions
|
|
@ -546,8 +546,8 @@ void tty_wait_for_device(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Test for accessible device file */
|
/* Test for accessible device file */
|
||||||
int rc = access(option.tty_device, R_OK);
|
status = access(option.tty_device, R_OK);
|
||||||
if (rc == 0) {
|
if (status == 0) {
|
||||||
last_errno = 0;
|
last_errno = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue