mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
Documentation: fix getdelays.c printf bug
Commit b663a79c19
("taskstats: add
context-switch counters") incorrectly removed a comma from a printf
statement. This causes corruption in the output printing or a seg
fault.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
8b7f07155f
commit
efbee7f1c9
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ void print_delayacct(struct taskstats *t)
|
||||||
"IO %15s%15s\n"
|
"IO %15s%15s\n"
|
||||||
" %15llu%15llu\n"
|
" %15llu%15llu\n"
|
||||||
"MEM %15s%15s\n"
|
"MEM %15s%15s\n"
|
||||||
" %15llu%15llu\n"
|
" %15llu%15llu\n",
|
||||||
"count", "real total", "virtual total", "delay total",
|
"count", "real total", "virtual total", "delay total",
|
||||||
t->cpu_count, t->cpu_run_real_total, t->cpu_run_virtual_total,
|
t->cpu_count, t->cpu_run_real_total, t->cpu_run_virtual_total,
|
||||||
t->cpu_delay_total,
|
t->cpu_delay_total,
|
||||||
|
|
Loading…
Reference in a new issue