Revision b181e047 qemu-char.c
b/qemu-char.c | ||
---|---|---|
665 | 665 |
close(fd_in); |
666 | 666 |
if (fd_out >= 0) |
667 | 667 |
close(fd_out); |
668 |
TFR(fd_in = fd_out = open(filename, O_RDWR | O_BINARY)); |
|
668 |
TFR(fd_in = fd_out = qemu_open(filename, O_RDWR | O_BINARY));
|
|
669 | 669 |
if (fd_in < 0) |
670 | 670 |
return NULL; |
671 | 671 |
} |
... | ... | |
1217 | 1217 |
CharDriverState *chr; |
1218 | 1218 |
int fd; |
1219 | 1219 |
|
1220 |
TFR(fd = open(filename, O_RDWR | O_NONBLOCK)); |
|
1220 |
TFR(fd = qemu_open(filename, O_RDWR | O_NONBLOCK));
|
|
1221 | 1221 |
if (fd < 0) { |
1222 | 1222 |
return NULL; |
1223 | 1223 |
} |
... | ... | |
1355 | 1355 |
ParallelCharDriver *drv; |
1356 | 1356 |
int fd; |
1357 | 1357 |
|
1358 |
TFR(fd = open(filename, O_RDWR)); |
|
1358 |
TFR(fd = qemu_open(filename, O_RDWR));
|
|
1359 | 1359 |
if (fd < 0) |
1360 | 1360 |
return NULL; |
1361 | 1361 |
|
... | ... | |
1424 | 1424 |
CharDriverState *chr; |
1425 | 1425 |
int fd; |
1426 | 1426 |
|
1427 |
fd = open(filename, O_RDWR); |
|
1427 |
fd = qemu_open(filename, O_RDWR);
|
|
1428 | 1428 |
if (fd < 0) |
1429 | 1429 |
return NULL; |
1430 | 1430 |
|
Also available in: Unified diff