summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2007-08-23 09:31:42 +1000
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-22 19:52:44 -0700
commitefbee7f1c9f3cca8d7d2fe0e797d2c7cc970cccd (patch)
tree56598e3c13dd49b5d3565c2b389ad78ab32661cb /Documentation
parent8b7f07155f8ee1536da2f9590f1aa9383afefb6b (diff)
downloadlinux-efbee7f1c9f3cca8d7d2fe0e797d2c7cc970cccd.tar.gz
linux-efbee7f1c9f3cca8d7d2fe0e797d2c7cc970cccd.tar.bz2
linux-efbee7f1c9f3cca8d7d2fe0e797d2c7cc970cccd.zip
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/accounting/getdelays.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/accounting/getdelays.c b/Documentation/accounting/getdelays.c
index 24c5aade8998..cbee3a27f768 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,