From: Michael Neuling Date: Wed, 22 Aug 2007 23:31:42 +0000 (+1000) Subject: Documentation: fix getdelays.c printf bug X-Git-Tag: v3.12-rc1~27116 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=efbee7f1c9f3cca8d7d2fe0e797d2c7cc970cccd;p=kernel%2Fkernel-generic.git 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 Acked-by: Balbir Singh Signed-off-by: Linus Torvalds --- diff --git a/Documentation/accounting/getdelays.c b/Documentation/accounting/getdelays.c index 24c5aad..cbee3a2 100644 --- a/Documentation/accounting/getdelays.c +++ b/Documentation/accounting/getdelays.c @@ -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,