summaryrefslogtreecommitdiff
path: root/ntpshm.c
diff options
context:
space:
mode:
Diffstat (limited to 'ntpshm.c')
-rw-r--r--ntpshm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ntpshm.c b/ntpshm.c
index d6283c15..d26704a6 100644
--- a/ntpshm.c
+++ b/ntpshm.c
@@ -555,7 +555,7 @@ static /*@null@*/ void *gpsd_ppsmonitor(void *arg)
} sample;
/* chrony must be started first as chrony insists on creating the socket */
/* open the chrony socket */
- int chronyfd;
+ int chronyfd = -1;
char chrony_path[PATH_MAX];
gpsd_report(LOG_PROG, "PPS Create Thread gpsd_ppsmonitor\n");