diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-27 23:45:40 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-27 23:45:40 -0400 |
commit | a46c1a3e1b4ce370ecb68b5b3afb7f76297a4fd4 (patch) | |
tree | 18f84d70137dce80016e13e66bba2e752916994b /gpxlogger.c | |
parent | b431a4a76c673532908b804ec0e9a9f5af2831f1 (diff) | |
download | gpsd-a46c1a3e1b4ce370ecb68b5b3afb7f76297a4fd4.tar.gz |
Part repair of the shm dispatch.
Uh oh. One of my rests was broken. The gps_shm_* functions work, but
dispatch to them through the public API is broken. This partway fixes it.
Diffstat (limited to 'gpxlogger.c')
-rw-r--r-- | gpxlogger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpxlogger.c b/gpxlogger.c index b0186589..c4ae6f84 100644 --- a/gpxlogger.c +++ b/gpxlogger.c @@ -342,7 +342,7 @@ static int socket_mainloop(void) static int shm_mainloop(void) { int status; - if ((status = gps_open(&gpsdata, GPSD_SHARED_MEMORY, NULL)) != 0) { + if ((status = gps_open(GPSD_SHARED_MEMORY, NULL, &gpsdata)) != 0) { (void)fprintf(stderr, "%s: shm open failed with status %d.\n", progname, status); |