diff options
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; \ |
