[ovs-git] [openvswitch/ovs] a6be65: ovsdb: Improve error message from ovsdb_log_open()...

GitHub noreply at github.com
Thu Mar 31 05:38:56 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: a6be657b299369da9780b67fe2f11caf835e6355
      https://github.com/openvswitch/ovs/commit/a6be657b299369da9780b67fe2f11caf835e6355
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2016-03-30 (Wed, 30 Mar 2016)

  Changed paths:
    M ovsdb/log.c
    M tests/ovsdb-log.at
    M tests/ovsdb-server.at

  Log Message:
  -----------
  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 at ovn.org>
Acked-by: Russell Bryant <russell at ovn.org>




More information about the git mailing list