]> 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, 1 Aug 2013 21:32:31 +0000 (17:32 -0400)
commitfbe85fa4fdf0a65682ce3d8ec20e8cf313a3bb1d
tree155860abb01988d667c10222c45afca4f8c9874a
parent0b2750c28e625c82a04e83ab5ce15812c05e9874
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)

Conflicts:
src/libvirt_private.syms
src/node_device/node_device_udev.c
src/util/logging.c
src/util/logging.h
src/libvirt_private.syms
src/node_device/node_device_udev.c
src/util/logging.c
src/util/logging.h