Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: fix getdelays.c printf bug

Commit b663a79c191508f27cd885224b592a878c0ba0f6 ("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>

authored by

Michael Neuling and committed by
Linus Torvalds
efbee7f1 8b7f0715

+1 -1
+1 -1
Documentation/accounting/getdelays.c
··· 196 196 "IO %15s%15s\n" 197 197 " %15llu%15llu\n" 198 198 "MEM %15s%15s\n" 199 - " %15llu%15llu\n" 199 + " %15llu%15llu\n", 200 200 "count", "real total", "virtual total", "delay total", 201 201 t->cpu_count, t->cpu_run_real_total, t->cpu_run_virtual_total, 202 202 t->cpu_delay_total,