Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efbee7f1 authored by Michael Neuling's avatar Michael Neuling Committed by Linus Torvalds
Browse files

Documentation: fix getdelays.c printf bug



Commit b663a79c ("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: default avatarMichael Neuling <mikey@neuling.org>
Acked-by: default avatarBalbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8b7f0715
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -196,7 +196,7 @@ void print_delayacct(struct taskstats *t)
	       "IO    %15s%15s\n"
	       "      %15llu%15llu\n"
	       "MEM   %15s%15s\n"
	       "      %15llu%15llu\n"
	       "      %15llu%15llu\n",
	       "count", "real total", "virtual total", "delay total",
	       t->cpu_count, t->cpu_run_real_total, t->cpu_run_virtual_total,
	       t->cpu_delay_total,