summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2009-05-29 18:47:01 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2009-05-29 18:47:01 +0000
commit1d74891f27b893e90b151cd1779f511833574c74 (patch)
tree89a45db5a2894de14a402c7277725fa869d0b5d5 /gpsmon.c
parent015477bcc3e20b1c52cb9ad26d37646506a502b0 (diff)
downloadgpsd-1d74891f27b893e90b151cd1779f511833574c74.tar.gz
make the ubx monitor useful
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 55fb1d4c..2b904c19 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -423,6 +423,7 @@ int main (int argc, char **argv)
char line[80];
gmt_offset = (int)tzoffset();
+ putenv("TZ=GMT"); // for ctime()
/*@ -branchstate @*/
while ((option = getopt(argc, argv, "D:F:Vhl")) != -1) {
switch (option) {