diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-06-23 11:03:14 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-06-23 11:03:14 -0400 |
commit | 3cf6e481245f1fa1ec8b8a4876eae8705a052376 (patch) | |
tree | c4f6dc8007eea1d4b6e7ff03bd0aabab9c0021bc /libgpsd_core.c | |
parent | 3fc3463a4907bd6c52e71d8b3a6709c09f01b030 (diff) | |
download | gpsd-3cf6e481245f1fa1ec8b8a4876eae8705a052376.tar.gz |
Make gpsdecode initialize its time context the same way gpsd does.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index 8f1a19a1..7cd11cb9 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -1036,7 +1036,7 @@ gps_mask_t gpsd_poll(struct gps_device_t *session) gpsd_report(LOG_WARN, "date more than a year in the future!\n"); else if (session->newdata.time < 0) - gpsd_report(LOG_ERROR, "date is negative!\n"); + gpsd_report(LOG_ERROR, "date in %s is negative!\n", session->gpsdata.tag); } /*@-relaxtypes -longunsignedintegral@*/ |