aboutsummaryrefslogtreecommitdiff
path: root/resource/vtimes.c
diff options
context:
space:
mode:
Diffstat (limited to 'resource/vtimes.c')
-rw-r--r--resource/vtimes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/resource/vtimes.c b/resource/vtimes.c
index dd79c84eb0..f7d916533f 100644
--- a/resource/vtimes.c
+++ b/resource/vtimes.c
@@ -22,8 +22,8 @@
/* Return the number of 1/VTIMES_UNITS_PER_SECOND-second
units in the `struct timeval' TV. */
#define TIMEVAL_TO_VTIMES(tv) \
- ((tv.tv_sec * VTIMES_UNITS_PER_SECOND) + \
- (tv.tv_usec * VTIMES_UNITS_PER_SECOND / 1000000))
+ ((tv.tv_sec * VTIMES_UNITS_PER_SECOND) \
+ + (tv.tv_usec * VTIMES_UNITS_PER_SECOND / 1000000))
/* If VT is not NULL, write statistics for WHO into *VT.
Return 0 for success, -1 for failure. */