Skip to content

Commit 0cd85e1

Browse files
committed
ovsdb: Fix error message when parsing an operation fails.
Otherwise you get errors with text like "ovsdb operation 2 of 1", which is confusing.
1 parent ada496b commit 0cd85e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ovsdb/execution.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ ovsdb_execute(struct ovsdb *db, const struct json *params,
137137

138138
/* Parse and execute operation. */
139139
ovsdb_parser_init(&parser, operation,
140-
"ovsdb operation %zu of %zu", i + 1, n_operations);
140+
"ovsdb operation %zu of %zu", i, n_operations);
141141
op = ovsdb_parser_member(&parser, "op", OP_ID);
142142
result = json_object_create();
143143
if (op) {

0 commit comments

Comments
 (0)