Skip to contentSkip to conversation

Missed "," character in printf in print_delayacct().

PATCH In review Maxim Uvarov 2 participants 2 messages Aug 10, 2007 – Aug 14, 2007 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Missed "," character in printf in print_delayacct().

Sorry I've removed "," character from Documentation/accounting/getdelays.c with taskstats-add-context-switch-counters.patch.

It is needed to turn it back.

---

 Documentation/accounting/getdelays.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/accounting/getdelays.c +1 -1
index 24c5aad..cbee3a2 100644
@@ -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,
#1 lore raw
Quoted 19 lines · Maxim Uvarov

Sorry I've removed "," character from Documentation/accounting/getdelays.c with taskstats-add-context-switch-counters.patch.

It is needed to turn it back.

---

 Documentation/accounting/getdelays.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/accounting/getdelays.c +0 -0
index 24c5aad..cbee3a2 100644

Documentation/accounting/getdelays.c void print_delayacct(struct taskstats *t) · line 202

Quoted 8 lines
Documentation/accounting/getdelays.c +1 -1
@@ -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,

Michael Neuling, sent this fix along with his fix for fixing the -l option.

Signature · 4 lines
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL