summaryrefslogtreecommitdiff
path: root/ntpshmmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-03 16:27:15 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-03-03 16:27:15 -0500
commit8745b767d8b8b4a5e4261a636b128df54f2bd02c (patch)
tree1e37593f1a32fa4ce343a428449ef2965379857a /ntpshmmon.c
parentc93e0c28dfd8165d8ac66e04139f2111109acaa6 (diff)
downloadgpsd-8745b767d8b8b4a5e4261a636b128df54f2bd02c.tar.gz
Tell ntpshhmon to merely snoop SHM updates, not consume them.
Diffstat (limited to 'ntpshmmon.c')
-rw-r--r--ntpshmmon.c2
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)