diff options
author | ken <ken@FreeBSD.org> | 2013-04-10 16:01:45 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 2013-04-10 16:01:45 +0000 |
commit | 65d2502f2d302c544a23463277bf296d7847d0fe (patch) | |
tree | 83ccb1d7c38eba4e29acd6841884d34b744c0da0 /include | |
parent | dc49969f25f515c25eeefd924182c537cd128335 (diff) | |
download | FreeBSD-src-65d2502f2d302c544a23463277bf296d7847d0fe.zip FreeBSD-src-65d2502f2d302c544a23463277bf296d7847d0fe.tar.gz |
Fix a time calculation error in ctlstat_standard().
ctlstat.c: When converting a timeval to a floating point
number in ctlstat_standard(), cast the nanoseconds
calculation to a long double, so we don't lose
precision. Without the cast, we wind up with a
time in whole seconds only.
Sponsored by: Spectra Logic
MFC after: 3 days
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions