Skip to contentSkip to conversation

: Re: typo?

PATCH In review Alan D. Brunelle 2 participants 2 messages Mar 26, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : Re: typo?

From: Alan D. Brunelle <[email protected]>

Fix output of unplug totals (cut-and-paste error with total caption).

---

 btt/output.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
btt/output.c +2 -2
index 1278434..6851848 100644
@@ -466,8 +466,8 @@ void __dip_output_plug_all(FILE *ofp, struct plug_info *p)
 {
 	fprintf(ofp, "---------- | ---------- ----------  | ----------------\n");
 	fprintf(ofp, "%10s | %10s %10s  | %s\n", 
-	        "DEV", "# Plugs", "# Timer Us", "% Time Q Plugged");
-	fprintf(ofp, "%10s | %10ld(%10ld) | %13.9lf%%\n", "OVERALL",
+	        "Overall", "# Plugs", "# Timer Us", "% Time Q Plugged");
+	fprintf(ofp, "%10s | %10ld(%10ld) | %13.9lf%%\n", "Average",
 	        p->n_plugs / n_plugs, p->n_timer_unplugs / n_plugs, 
 		p->t_percent / n_plugs);
 
#1 lore raw
Quoted 5 lines · Alan D. Brunelle

plain text document attachment (fix-output-unplug)
From: Alan D. Brunelle <[email protected]>

Fix output of unplug totals (cut-and-paste error with total caption).

thx!

Quoted 21 lines

---

 btt/output.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
btt/output.c +2 -2
index 1278434..6851848 100644
@@ -466,8 +466,8 @@ void __dip_output_plug_all(FILE *ofp, struct plug_info *p)
 {
 	fprintf(ofp, "---------- | ---------- ----------  | ----------------\n");
 	fprintf(ofp, "%10s | %10s %10s  | %s\n", 
-	        "DEV", "# Plugs", "# Timer Us", "% Time Q Plugged");
-	fprintf(ofp, "%10s | %10ld(%10ld) | %13.9lf%%\n", "OVERALL",
+	        "Overall", "# Plugs", "# Timer Us", "% Time Q Plugged");
+	fprintf(ofp, "%10s | %10ld(%10ld) | %13.9lf%%\n", "Average",
 	        p->n_plugs / n_plugs, p->n_timer_unplugs / n_plugs, 
 		p->t_percent / n_plugs);