← Commit list

e7f1e5ca1

Denys Vlasenko
Denys Vlasenko
2010-05-04
FAILED Duration: 27s

Subject

bootchartd: add missing parenthesis

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

init/bootchartd.c+3 -3
@@ -175,7 +175,7 @@ static void do_logging(void)
//FILE *proc_netdev = xfopen("proc_netdev.log", "w");
FILE *proc_ps = xfopen("proc_ps.log", "w");
int look_for_login_process = (getppid() == 1);
- unsigned count = 60*1000*1000 / 200*1000; /* ~1 minute */
+ unsigned count = 60*1000*1000 / (200*1000); /* ~1 minute */
while (--count && !bb_got_signal) {
char *p;
@@ -200,8 +200,8 @@ static void do_logging(void)
/* dump_procs saw a getty or {g,k,x}dm
* stop logging in 2 seconds:
*/
- if (count > 2*1000*1000 / 200*1000)
- count = 2*1000*1000 / 200*1000;
+ if (count > 2*1000*1000 / (200*1000))
+ count = 2*1000*1000 / (200*1000);
}
fflush_all();
wait_more: