Skip to content

Commit efbee7f

Browse files
mikeyLinus Torvalds
authored andcommitted
Documentation: fix getdelays.c printf bug
Commit b663a79 ("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>
1 parent 8b7f071 commit efbee7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Documentation/accounting/getdelays.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ void print_delayacct(struct taskstats *t)
196196
"IO %15s%15s\n"
197197
" %15llu%15llu\n"
198198
"MEM %15s%15s\n"
199-
" %15llu%15llu\n"
199+
" %15llu%15llu\n",
200200
"count", "real total", "virtual total", "delay total",
201201
t->cpu_count, t->cpu_run_real_total, t->cpu_run_virtual_total,
202202
t->cpu_delay_total,

0 commit comments

Comments
 (0)