diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2005-09-28 20:52:56 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2005-09-28 20:52:56 +0000 |
commit | 0304199de36c9453d2ca25f71abab10353a2a0fb (patch) | |
tree | b331257f4dc8dc6e27ef55170d85513d8803d79f /serial.c | |
parent | 0d889f968b4b4c661cc9c4cc2f44f4299b484a49 (diff) | |
download | gpsd-0304199de36c9453d2ca25f71abab10353a2a0fb.tar.gz |
@#&^(#@*$&!!! xterm adding line endings in the middle of a cut-n-paste.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -97,8 +97,7 @@ void gpsd_set_speed(struct gps_device_t *session, int gpsd_open(struct gps_device_t *session) { gpsd_report(1, "opening GPS data source at '%s'\n", session->gpsdata.gps_device); - if ((session->gpsdata.gps_fd = open(session->gpsdata.gps_device, O_RDWR|O_N -ONBLOCK|O_NOCTTY)) < 0) { + if ((session->gpsdata.gps_fd = open(session->gpsdata.gps_device, O_RDWR|O_NONBLOCK|O_NOCTTY)) < 0) { gpsd_report(1, "device open failed: %s\n", strerror(errno)); return -1; } |