summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
authorReinhard Arlt <reinhard.arlt@t-online.de>2012-07-23 10:41:03 +0200
committerReinhard Arlt <reinhard.arlt@t-online.de>2012-07-23 10:41:03 +0200
commit2a07669e092555825b905fb91057277b965c7b6b (patch)
treed17d4c7e8523150b22cb75abb923af31affd87ee /gpsd.c
parent258279a13f16bd426661ede968a71e37db327c4c (diff)
downloadgpsd-2a07669e092555825b905fb91057277b965c7b6b.tar.gz
Fix bug with NOWAIT.
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.c b/gpsd.c
index aa32cbf8..5e2a90fd 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -2030,7 +2030,7 @@ int main(int argc, char *argv[])
if (nice(NICEVAL) == -1 && errno != 0)
gpsd_report(LOG_INF, "NTPD Priority setting failed.\n");
}
- (void)ntpshm_init(&context, true);
+ (void)ntpshm_init(&context, NOWAIT);
#endif /* NTPSHM_ENABLE */
#if defined(DBUS_EXPORT_ENABLE) && !defined(S_SPLINT_S)