diff options
author | Gary E. Miller <gem@rellim.com> | 2015-06-05 11:05:03 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-06-05 11:05:03 -0700 |
commit | 09f2659e61a0b73c05841dfe3c4da5d3311e0c92 (patch) | |
tree | d8a387a3470c5f5435c4110589b13905a9b596ea /timespec.h | |
parent | 8c8de4309249ed5a8af1115541ad375b74ebcd7a (diff) | |
download | gpsd-09f2659e61a0b73c05841dfe3c4da5d3311e0c92.tar.gz |
Fix some nits.
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_TO_SEC casues loss of precision */ + * WARNING replacing 1e9 with NS_IN_SEC casues loss of precision */ #define TSTONS(ts) ((double)((ts)->tv_sec + ((ts)->tv_nsec / 1e9))) #define TIMESPEC_LEN 22 /* required length of a timespec buffer */ |