summaryrefslogtreecommitdiff
path: root/gpsfake
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-01-27 15:52:38 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-01-27 15:52:59 -0500
commite97068e0022f620596e9ea1411bd7160333ec045 (patch)
treec4f4b3408a4e9e898491cc0454740fa57e25dbed /gpsfake
parent6579023bc37dd3eebce9460773a6c654eb06d226 (diff)
downloadgpsd-e97068e0022f620596e9ea1411bd7160333ec045.tar.gz
Fix an erroneous format literal.
Diffstat (limited to 'gpsfake')
-rwxr-xr-xgpsfake2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsfake b/gpsfake
index 67ee1da6..7727c0dd 100755
--- a/gpsfake
+++ b/gpsfake
@@ -153,7 +153,7 @@ if __name__ == '__main__':
elif (switch == '-t'):
tcp = True
elif (switch == '-T'):
- sys.stdout.write("sys %s platform %s: WRITE_PAD = %.f CLOSE_DELAY = %.2f\n" % (sys.platform, platform.platform(), gpsfake.WRITE_PAD, gpsfake.CLOSE_DELAY))
+ sys.stdout.write("sys %s platform %s: WRITE_PAD = %.2f CLOSE_DELAY = %.2f\n" % (sys.platform, platform.platform(), gpsfake.WRITE_PAD, gpsfake.CLOSE_DELAY))
raise SystemExit,0
elif (switch == '-u'):
udp = True