summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-03-12 02:15:53 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-03-12 02:15:53 +0000
commit2d2bcd7332e6546d622140bf05c740536ce83247 (patch)
tree2f3331fcda6c458b8cd75d8ba50fcab259313020 /serial.c
parentaf40c725891ade46ffa7a9eafb88def0406d1b4d (diff)
downloadgpsd-2d2bcd7332e6546d622140bf05c740536ce83247.tar.gz
Mac OS port fixes. Describe WAAS/EGNOS in the GPS Hacking document.
Fix bonehead error in PGRME interpretation.
Diffstat (limited to 'serial.c')
-rw-r--r--serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial.c b/serial.c
index bdfc974b..f2ff95cf 100644
--- a/serial.c
+++ b/serial.c
@@ -88,7 +88,7 @@ int gpsd_open(struct gps_session_t *session)
static unsigned int rates[] = {4800, 9600, 19200, 38400, 57600};
gpsd_report(1, "opening GPS data source at %s\n", session->gpsd_device);
- if ((session->gNMEAdata.gps_fd = open(session->gpsd_device, O_RDWR|O_NOCTTY|O_SYNC)) < 0) {
+ if ((session->gNMEAdata.gps_fd = open(session->gpsd_device, O_RDWR|O_NOCTTY)) < 0) {
gpsd_report(1, "device open failed: %s\n", strerror(errno));
return -1;
}