diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-02-22 12:19:14 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-02-22 13:01:56 -0500 |
commit | 272f891c7b852c5e7d16089622d6d42c3a875df2 (patch) | |
tree | 99d4cefa713776eddc22f7180bfaa9935995aef5 /gpsmon.c | |
parent | 162eb15775c1a282834de11c77624c02276e4be4 (diff) | |
download | gpsd-272f891c7b852c5e7d16089622d6d42c3a875df2.tar.gz |
Fix the negative-date problem in gpsmon.
Diffstat (limited to 'gpsmon.c')
-rw-r--r-- | gpsmon.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |