]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: fix error messages in virNetlinkEventServiceStart
authorLaine Stump <laine@laine.org>
Thu, 26 Apr 2012 18:35:26 +0000 (14:35 -0400)
committerLaine Stump <laine@laine.org>
Thu, 26 Apr 2012 19:24:07 +0000 (15:24 -0400)
commit9586925bacc9f37a00c6afb5bb376f9025214898
treed6814259fdc64a5f8d9e0689418d199b3220c3b4
parent8ef5f263611433bb9004db0d6119488d88b2c6f7
util: fix error messages in virNetlinkEventServiceStart

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