[libvirt] [PATCH] util: fix error messages in virNetlinkEventServiceStart

Eric Blake eblake at redhat.com
Thu Apr 26 19:14:10 UTC 2012


On 04/26/2012 01:09 PM, Laine Stump wrote:
> Some of the error messages in this function should have been
> virReportSystemError (since they have an errno they want to log), but
> were mistakenly written as netlinkError, which expects a libvirt error
> code instead. The result was that when one of the errors was
> encountered, "No error message provided" would be printed instead of
> something meaningful (see
> https://bugzilla.redhat.com/show_bug.cgi?id=816465 for an example).
> ---
>  src/util/virnetlink.c |   20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120426/9e0e014d/attachment-0001.sig>


More information about the libvir-list mailing list