diff options
| author | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 15:26:02 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-07-17 15:26:02 -0400 |
| commit | c14777c6bfd0a446c85243d3a9835054a259c276 (patch) | |
| tree | 2021f7d89a6046f81ff1f44d256ecff28282568f /tools/start-stop-daemon.c | |
| parent | f0735da293f2aef7e09cb67c5564d69d7260db9a (diff) | |
*: reindent pt. 2
w/ clang 5
* reflow comments
* struct members go 1 per line
* binpack algo was adjusted
Diffstat (limited to 'tools/start-stop-daemon.c')
| -rw-r--r-- | tools/start-stop-daemon.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tools/start-stop-daemon.c b/tools/start-stop-daemon.c index 39527eca77..7372cc8449 100644 --- a/tools/start-stop-daemon.c +++ b/tools/start-stop-daemon.c @@ -869,12 +869,13 @@ static int run_stop_schedule(void) if (ratio < 10) ratio++; - TVCALC(interval, - ratio * (TVELEM(&after) - TVELEM(&before) - + TVADJUST)); - TVCALC(maxinterval, - TVELEM(&stopat) - TVELEM(&after) - + TVADJUST); + TVCALC(interval, ratio + * (TVELEM(&after) + - TVELEM(&before) + + TVADJUST)); + TVCALC(maxinterval, TVELEM(&stopat) + - TVELEM(&after) + + TVADJUST); if (timercmp(&interval, &maxinterval, >)) interval = maxinterval; |
