diff options
author | Beat Bolli <bbolli@ewanet.ch> | 2013-10-20 22:11:44 +0200 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-20 21:15:00 -0400 |
commit | 809a7c3badbad2229bfdcf5716fc00bc60c49cf2 (patch) | |
tree | 3bc9e55c085ceccb6805bc7a83a3369b5ab3f974 /ntpshm.c | |
parent | f5a697f344b8ef1475b35c30d910ee4f756c63d8 (diff) | |
download | gpsd-809a7c3badbad2229bfdcf5716fc00bc60c49cf2.tar.gz |
ntpshm.c: let the PPS init waiting loop terminate
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'ntpshm.c')
-rw-r--r-- | ntpshm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -596,7 +596,7 @@ void gpsd_await_pps_initialization(struct gps_context_t *context) gpsd_report(context->debug, LOG_WARN, "waiting on KPPS initalization...\n"); - while (dropdead > 0) + while (dropdead-- > 0) { /*@ -unrecog (splint has no pthread declarations as yet) @*/ (void)pthread_mutex_lock(&initialization_mutex); |