diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-03-02 21:18:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-03-02 21:18:07 +0000 |
commit | 9af2e76f296235601789d826a4a65ce0ec4eda9e (patch) | |
tree | f213a8c8c20b25288f59ba5ad067870c4dd8f683 /manual | |
parent | d77fad15db9fda989dd8cdc2d8280d9383d62caa (diff) | |
download | glibc-9af2e76f296235601789d826a4a65ce0ec4eda9e.tar glibc-9af2e76f296235601789d826a4a65ce0ec4eda9e.tar.gz glibc-9af2e76f296235601789d826a4a65ce0ec4eda9e.tar.bz2 glibc-9af2e76f296235601789d826a4a65ce0ec4eda9e.zip |
Update.
1999-03-02 Ulrich Drepper <drepper@cygnus.com>
* manual/time.texi (High Resolution Timer): Correct computation in
example. Reported by jjf@devel.cemsys.com.
Diffstat (limited to 'manual')
-rw-r--r-- | manual/time.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/time.texi b/manual/time.texi index 57fbdf2ced..463814dae3 100644 --- a/manual/time.texi +++ b/manual/time.texi @@ -354,7 +354,7 @@ timeval_subtract (result, x, y) y->tv_sec += nsec; @} if (x->tv_usec - y->tv_usec > 1000000) @{ - int nsec = (y->tv_usec - x->tv_usec) / 1000000; + int nsec = (x->tv_usec - y->tv_usec) / 1000000; y->tv_usec += 1000000 * nsec; y->tv_sec -= nsec; @} |