diff options
Diffstat (limited to 'sbin/nmeaattach/nmeaattach.c')
-rw-r--r-- | sbin/nmeaattach/nmeaattach.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/nmeaattach/nmeaattach.c b/sbin/nmeaattach/nmeaattach.c index c83e86f4408..0a443b2fe89 100644 --- a/sbin/nmeaattach/nmeaattach.c +++ b/sbin/nmeaattach/nmeaattach.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nmeaattach.c,v 1.2 2006/07/09 09:03:19 jmc Exp $ */ +/* $OpenBSD: nmeaattach.c,v 1.3 2006/09/17 16:57:22 mbalmer Exp $ */ /* * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. @@ -134,7 +134,7 @@ main(int argc, char *argv[]) "%s%s", _PATH_DEV, dev); dev = devicename; } - if ((fd = open(dev, O_RDWR | O_NDELAY)) < 0) + if ((fd = open(dev, O_RDWR)) < 0) err(1, "open: %s", dev); tty.c_cflag = CREAD | CS8 | cflag; |