diff options
author | Haakan Johansson <f96hajo@chalmers.se> | 2016-03-12 19:16:19 +0100 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2016-03-15 19:48:12 -0400 |
commit | 1829ba9c5106340b83be4a6dc5d69b37421bc98c (patch) | |
tree | 4760aa6216066c21a958edd8f90db53c3e4362dd /timespec.h | |
parent | cc0de7d1a17958dd70da5dcd250826976c288dee (diff) | |
download | gpsd-1829ba9c5106340b83be4a6dc5d69b37421bc98c.tar.gz |
Minor spell and wording.
Diffstat (limited to 'timespec.h')
-rw-r--r-- | timespec.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -95,7 +95,7 @@ static inline void TS_NORM( struct timespec *ts) /* convert a timespec to a double. * if tv_sec > 2, then inevitable loss of precision in tv_nsec * so best to NEVER use TSTONS() - * WARNING replacing 1e9 with NS_IN_SEC casues loss of precision */ + * WARNING replacing 1e9 with NS_IN_SEC causes loss of precision */ #define TSTONS(ts) ((double)((ts)->tv_sec + ((ts)->tv_nsec / 1e9))) #define TIMESPEC_LEN 22 /* required length of a timespec buffer */ |