diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-04-03 06:19:40 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-04-03 06:19:40 +0000 |
commit | b5dc263522dc5189652cd52f639211863478c1e5 (patch) | |
tree | 984297b71ec0ff525ebbf3fa1be1de8f493aec98 /serial.c | |
parent | 589841652d36f82a657da34e7fee54d81ebe2ae8 (diff) | |
download | gpsd-b5dc263522dc5189652cd52f639211863478c1e5.tar.gz |
Device list editing through a separate control socket.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -84,8 +84,8 @@ int gpsd_open(struct gps_device_t *session) /* every rate we're likely to see on a GPS */ static unsigned int rates[] = {4800, 9600, 19200, 38400, 57600}; - gpsd_report(1, "opening GPS data source at '%s'\n", session->gpsd_device); - if ((session->gpsdata.gps_fd = open(session->gpsd_device, O_RDWR|O_NOCTTY)) < 0) { + 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_NOCTTY)) < 0) { gpsd_report(1, "device open failed: %s\n", strerror(errno)); return -1; } |