]> git.ipfire.org Git - thirdparty/libvirt.git/commit
udev: fix crash in libudev logging
authorJán Tomko <jtomko@redhat.com>
Fri, 7 Jun 2013 09:55:27 +0000 (11:55 +0200)
committerCole Robinson <crobinso@redhat.com>
Thu, 11 Jul 2013 21:29:33 +0000 (17:29 -0400)
commitad02b248716cbc3fb2bce9856dc826e1f7eef86f
tree6a28e2dd8f27a96aeb30f8ec726f7e3ea7bb5576
parent647156870e59fa334deb6b3601f2aff62b0f5d20
udev: fix crash in libudev logging

Call virLogVMessage instead of virLogMessage, since libudev
called us with a va_list object, not a list of arguments.

Honor message priority and strip the trailing newline.

https://bugzilla.redhat.com/show_bug.cgi?id=969152
(cherry picked from commit f753dd62f951cc62e164421d0c6491f39e4c68ad)
src/libvirt_private.syms
src/node_device/node_device_udev.c
src/util/virlog.c
src/util/virlog.h