summaryrefslogtreecommitdiff
path: root/monitor_sirf.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-02-02 19:13:19 -0800
committerGary E. Miller <gem@rellim.com>2015-02-02 19:13:19 -0800
commitaf4afebe84d1f0523ee0c91f829c515f1a1ddecb (patch)
tree910e3ea11b076f81142a94cea42b34a7c8b9cac1 /monitor_sirf.c
parentc34d0e3ef7d070f0a33a8c49027dbcda433bc950 (diff)
downloadgpsd-af4afebe84d1f0523ee0c91f829c515f1a1ddecb.tar.gz
Whoops, bad printf formatting. Missing %
Diffstat (limited to 'monitor_sirf.c')
-rw-r--r--monitor_sirf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_sirf.c b/monitor_sirf.c
index bee0dfad..ba8bb9f2 100644
--- a/monitor_sirf.c
+++ b/monitor_sirf.c
@@ -598,7 +598,7 @@ static void sirf_update(void)
/* need a bigger field to show it */
(void)mvwprintw(mid7win, 2, 39, "> 1 day");
} else {
- (void)mvwprintw(mid7win, 4, 39, "%ld.09ld",
+ (void)mvwprintw(mid7win, 4, 39, "%ld.%09ld",
(long)timedelta.tv_sec,
(long)timedelta.tv_nsec);
}