diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-03 16:27:15 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-03 16:27:15 -0500 |
commit | 8745b767d8b8b4a5e4261a636b128df54f2bd02c (patch) | |
tree | 1e37593f1a32fa4ce343a428449ef2965379857a /ntpshmmon.c | |
parent | c93e0c28dfd8165d8ac66e04139f2111109acaa6 (diff) | |
download | gpsd-8745b767d8b8b4a5e4261a636b128df54f2bd02c.tar.gz |
Tell ntpshhmon to merely snoop SHM updates, not consume them.
Diffstat (limited to 'ntpshmmon.c')
-rw-r--r-- | ntpshmmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ntpshmmon.c b/ntpshmmon.c index ab2e0538..f272ebd2 100644 --- a/ntpshmmon.c +++ b/ntpshmmon.c @@ -84,7 +84,7 @@ int main(int argc, char **argv) struct shm_stat_t shm_stat; for (i = 0; i < NTPSEGMENTS; i++) { - enum segstat_t status = shm_query(segments[i], &shm_stat); + enum segstat_t status = shm_query(segments[i], &shm_stat, false); if (verbose) fprintf(stderr, "unit %d status %d\n", i, status); switch(status) |