summaryrefslogtreecommitdiff
path: root/ovsdb/ovsdb-tool.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2018-05-25 17:11:07 -0700
committerBen Pfaff <blp@ovn.org>2018-06-11 15:32:00 -0700
commit5a0e4aec1af5cf7741c490bce704577e51e536b9 (patch)
tree0115e5184d50e22d6f6e7c7bd87a2690bdcc6ca4 /ovsdb/ovsdb-tool.c
parent7be29a47576dce715f9c8b2b4f673fa623728ed0 (diff)
downloadopenvswitch-5a0e4aec1af5cf7741c490bce704577e51e536b9.tar.gz
treewide: Convert leading tabs to spaces.
It's always been OVS coding style to use spaces rather than tabs for indentation, but some tabs have snuck in over time. This commit converts them to spaces. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'ovsdb/ovsdb-tool.c')
-rw-r--r--ovsdb/ovsdb-tool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ovsdb/ovsdb-tool.c b/ovsdb/ovsdb-tool.c
index 95a777241..5f2eac413 100644
--- a/ovsdb/ovsdb-tool.c
+++ b/ovsdb/ovsdb-tool.c
@@ -677,7 +677,7 @@ print_db_changes(struct shash *tables, struct smap *names,
}
}
- printf("\ttable %s", table);
+ printf(" table %s", table);
if (!old_name) {
if (new_name) {
@@ -722,7 +722,7 @@ print_db_changes(struct shash *tables, struct smap *names,
if (!value_string) {
value_string = json_to_string(value, JSSF_SORT);
}
- printf("\t\t%s=%s\n", column, value_string);
+ printf(" %s=%s\n", column, value_string);
free(value_string);
}
}
@@ -735,7 +735,7 @@ print_db_changes(struct shash *tables, struct smap *names,
xmemdup0(row_uuid, 8));
}
} else if (columns->type == JSON_NULL) {
- printf("\t\tdelete row\n");
+ printf(" delete row\n");
smap_remove(names, row_uuid);
}