commit | 9f65adf2ba3bb15feb8b7a7b3eef788df3fd270e | [log] [tgz] |
---|---|---|
author | The Android Open Source Project <initial-contribution@android.com> | Tue Feb 10 15:43:56 2009 -0800 |
committer | The Android Open Source Project <initial-contribution@android.com> | Tue Feb 10 15:43:56 2009 -0800 |
tree | c06064fc9022ef63a40f83a91292103784f49780 | |
parent | d37527501c85edcb3a6a7c8a0b6297d52d434897 [diff] [blame] |
auto import from //branches/cupcake/...@130745
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 @@ #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; \