diff options
| author | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:43:56 -0800 |
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:43:56 -0800 |
| commit | 9f65adf2ba3bb15feb8b7a7b3eef788df3fd270e (patch) | |
| tree | c06064fc9022ef63a40f83a91292103784f49780 /libc/include/sys/time.h | |
| parent | d37527501c85edcb3a6a7c8a0b6297d52d434897 (diff) | |
| download | bionic-9f65adf2ba3bb15feb8b7a7b3eef788df3fd270e.zip bionic-9f65adf2ba3bb15feb8b7a7b3eef788df3fd270e.tar.gz bionic-9f65adf2ba3bb15feb8b7a7b3eef788df3fd270e.tar.bz2 | |
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'libc/include/sys/time.h')
| -rw-r--r-- | libc/include/sys/time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/sys/time.h b/libc/include/sys/time.h index 4dee4da..1f010d4 100644 --- a/libc/include/sys/time.h +++ b/libc/include/sys/time.h @@ -56,7 +56,7 @@ extern int utimes(const char *, const struct timeval *); #define timeradd(a, b, res) \ do { \ (res)->tv_sec = (a)->tv_sec + (b)->tv_sec; \ - (res)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ + (res)->tv_usec = (a)->tv_usec + (b)->tv_usec; \ if ((res)->tv_usec >= 1000000) { \ (res)->tv_usec -= 1000000; \ (res)->tv_sec += 1; \ |
