summaryrefslogtreecommitdiff
path: root/timespec_str.c
diff options
context:
space:
mode:
authorHaakan Johansson <f96hajo@chalmers.se>2016-03-12 19:16:19 +0100
committerEric S. Raymond <esr@thyrsus.com>2016-03-15 19:48:12 -0400
commit1829ba9c5106340b83be4a6dc5d69b37421bc98c (patch)
tree4760aa6216066c21a958edd8f90db53c3e4362dd /timespec_str.c
parentcc0de7d1a17958dd70da5dcd250826976c288dee (diff)
downloadgpsd-1829ba9c5106340b83be4a6dc5d69b37421bc98c.tar.gz
Minor spell and wording.
Diffstat (limited to 'timespec_str.c')
-rw-r--r--timespec_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/timespec_str.c b/timespec_str.c
index 93d27741..755adb9a 100644
--- a/timespec_str.c
+++ b/timespec_str.c
@@ -33,7 +33,7 @@
* So 12 chars, like this: "-0.123456789"
*
* Absolute worst case is 10 digits of seconds.
- * So 21 digits like this: "-2147483647.123456789"
+ * So 21 characters like this: "-2147483647.123456789"
*
*/
void timespec_str(const struct timespec *ts, char *buf, size_t buf_size)