Use O_NOCTTY in patty_kiss_tnc_open()
This commit is contained in:
parent
d43d24a934
commit
6027a71e28
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ patty_kiss_tnc *patty_kiss_tnc_new(const char *device) {
|
|||
goto error_connect;
|
||||
}
|
||||
} else {
|
||||
if ((fd = open(device, O_RDWR)) < 0) {
|
||||
if ((fd = open(device, O_RDWR | O_NOCTTY)) < 0) {
|
||||
goto error_open;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue