diff mbox series

[ovs-dev,07/13] stopwatch: Remove tabs from output.

Message ID 20180604212750.14643-7-blp@ovn.org
State Accepted
Headers show
Series [ovs-dev,01/13] bfd: Remove leading tabs from output. | expand

Commit Message

Ben Pfaff June 4, 2018, 9:27 p.m. UTC
OVS uses spaces for indentation in source code and it makes sense for it to
also use spaces for indentation in output.  Spaces also consume less
horizontal space in output, which often makes it easier to read.  This
commit transitions one part of output from tabs to spaces and updates
appropriate parts of the tests to match.

Signed-off-by: Ben Pfaff <blp@ovn.org>
---
 lib/stopwatch.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/lib/stopwatch.c b/lib/stopwatch.c
index 20e2eefc0445..2e69d8189aa5 100644
--- a/lib/stopwatch.c
+++ b/lib/stopwatch.c
@@ -280,14 +280,14 @@  stopwatch_print(struct stopwatch *sw, const char *name,
     ds_put_format(s, "Statistics for '%s'\n", name);
 
     const char *units = unit_name[sw->units];
-    ds_put_format(s, "\t Total samples: %llu\n", sw->n_samples);
-    ds_put_format(s, "\t Maximum: %llu %s\n", sw->max, units);
-    ds_put_format(s, "\t Minimum: %llu %s\n", sw->min, units);
-    ds_put_format(s, "\t 95th percentile: %f %s\n",
+    ds_put_format(s, "  Total samples: %llu\n", sw->n_samples);
+    ds_put_format(s, "  Maximum: %llu %s\n", sw->max, units);
+    ds_put_format(s, "  Minimum: %llu %s\n", sw->min, units);
+    ds_put_format(s, "  95th percentile: %f %s\n",
                   sw->pctl.percentile, units);
-    ds_put_format(s, "\t Short term average: %f %s\n",
+    ds_put_format(s, "  Short term average: %f %s\n",
                   sw->short_term.average, units);
-    ds_put_format(s, "\t Long term average: %f %s\n",
+    ds_put_format(s, "  Long term average: %f %s\n",
                   sw->long_term.average, units);
 }