summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpsmon.c b/gpsmon.c
index 1c27deb6..928dfa11 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -533,6 +533,7 @@ int main(int argc, char **argv)
} else
gpsd_source_spec(NULL, &source);
+ gpsd_time_init(&context, time(NULL));
gpsd_init(&session, &context, NULL);
/*@ -boolops */