diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-28 05:39:09 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-28 05:39:09 -0400 |
commit | 66e1a41db58c6374fc92a5dc6ca12a5367a15355 (patch) | |
tree | df1526ebe6f85cb66263a840190461dc3b6c1431 /libgps_core.c | |
parent | 3e7fb419ed47a875888461776c3f4b6c54a16660 (diff) | |
download | gpsd-66e1a41db58c6374fc92a5dc6ca12a5367a15355.tar.gz |
The shm transport finallly works through gps_open().
Diffstat (limited to 'libgps_core.c')
-rw-r--r-- | libgps_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libgps_core.c b/libgps_core.c index a326f4a3..c35ccbc5 100644 --- a/libgps_core.c +++ b/libgps_core.c @@ -112,8 +112,7 @@ int gps_read(struct gps_data_t *gpsdata) #ifdef SHM_EXPORT_ENABLE if (gpsdata->gps_fd == -1) { - gps_shm_read(gpsdata); - status = 0; + status = gps_shm_read(gpsdata); } #endif /* SHM_EXPORT_ENABLE */ |