summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2016-07-27 15:17:02 -0700
committerGary E. Miller <gem@rellim.com>2016-07-27 15:17:02 -0700
commit358e19f1373c88f32e478d587f1d6164b2c7c653 (patch)
tree1602a47039251fbf07357b3cfed1d0d902ca1cdd /contrib
parent1921de2876c5cb8448d5eeb4bf827e5df1009be3 (diff)
downloadgpsd-358e19f1373c88f32e478d587f1d6164b2c7c653.tar.gz
Too many digits in nanoSecs
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ppscheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ppscheck.c b/contrib/ppscheck.c
index 9348ac19..32d610ca 100644
--- a/contrib/ppscheck.c
+++ b/contrib/ppscheck.c
@@ -86,7 +86,7 @@ int main(int argc, char *argv[])
(void)clock_gettime(CLOCK_REALTIME, &ts);
(void)ioctl(fd, TIOCMGET, &handshakes);
- (void)fprintf(stdout, "%10ld %010ld", ts.tv_sec, ts.tv_nsec);
+ (void)fprintf(stdout, "%10ld %09ld", ts.tv_sec, ts.tv_nsec);
for (sp = hlines;
sp < hlines + sizeof(hlines)/sizeof(hlines[0]);
sp++)