]> git.proxmox.com Git - mirror_ovs.git/commit - tests/ovsdb-server.at
ovsdb: Improve error message from ovsdb_log_open() open failure.
authorBen Pfaff <blp@ovn.org>
Thu, 31 Mar 2016 03:11:44 +0000 (20:11 -0700)
committerBen Pfaff <blp@ovn.org>
Thu, 31 Mar 2016 05:38:49 +0000 (22:38 -0700)
commita6be657b299369da9780b67fe2f11caf835e6355
tree2fc731b5f37eb4e1a15245ee7294c57244ea5612
parent1021e19b1d729b1eff9e4ea91d71b5dec5d1261d
ovsdb: Improve error message from ovsdb_log_open() open failure.

Previously, error messages ended up looking like:
    ovsdb-tool: I/O error: create: $DBFILE failed (File exists)
which is hard to understand.  This commit changes them to:
    ovsdb-tool: I/O error: $DBFILE: create failed (File exists)
which makes more sense.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Russell Bryant <russell@ovn.org>
ovsdb/log.c
tests/ovsdb-log.at
tests/ovsdb-server.at