[ovs-dev] [PATCH] ovsdb: Improve error message from ovsdb_log_open() open failure.

Ben Pfaff blp at ovn.org
Thu Mar 31 05:39:08 UTC 2016


On Thu, Mar 31, 2016 at 12:40:06AM -0400, Russell Bryant wrote:
> On Wed, Mar 30, 2016 at 11:11 PM, Ben Pfaff <blp at ovn.org> wrote:
> 
> > 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>
> > ---
> >  ovsdb/log.c           | 2 +-
> >  tests/ovsdb-log.at    | 2 +-
> >  tests/ovsdb-server.at | 2 +-
> >  3 files changed, 3 insertions(+), 3 deletions(-)
> >
> >
> Untested, but the swap makes sense.
> 
> Acked-by: Russell Bryant <russell at ovn.org>

Thanks.  I applied this to master.



More information about the dev mailing list