blob: 390fa3f54d12e145c69a9e3c0712a300ec8b23a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ae,v 1.1.1.1 2003/07/17 19:09:23 wennmach Exp $
--- ser_posix.c.org Tue Jul 8 11:11:06 2003
+++ ser_posix.c Tue Jul 8 11:11:22 2003
@@ -120,7 +120,7 @@
/*
* open the serial port
*/
- fd = open(port, O_RDWR | O_NOCTTY /*| O_NONBLOCK*/);
+ fd = open(port, O_RDWR | O_NOCTTY | O_NONBLOCK);
if (fd < 0) {
fprintf(stderr, "%s: serial_open(): can't open device \"%s\": %s\n",
progname, port, strerror(errno));
|