]> xenbits.xensource.com Git - libvirt.git/commit
virdbus: Remove redundant error macro
authorCole Robinson <crobinso@redhat.com>
Sat, 3 May 2014 19:46:52 +0000 (15:46 -0400)
committerCole Robinson <crobinso@redhat.com>
Wed, 21 May 2014 13:33:24 +0000 (09:33 -0400)
commitaa7fc495c09cd1d279d335284cbeaf4c9182afad
tree3940ffba13ded10360a96b288cd1bf4c576fb010
parentfa8701ea2bad95111efaedf92c7af9fc53a8a8d3
virdbus: Remove redundant error macro

This is the only callsite.

We drop use of localerror.name here, because it's not actually useful
to us: rather than the parameter name which received an invalid value
(which was assumed), it's actually the the dbus errno equivalent.
Just use the error string.

Acked-by: Eric Blake <eblake@redhat.com>
src/util/virdbus.c
src/util/virerror.h