]> 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)
committerJán Tomko <jtomko@redhat.com>
Fri, 14 Jun 2013 11:17:27 +0000 (13:17 +0200)
commitf753dd62f951cc62e164421d0c6491f39e4c68ad
tree1a3017336116414e7d8f008eddb52239bc59c368
parent1133404c73134b36e259af6ff69719ea10f25f4a
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
src/libvirt_private.syms
src/node_device/node_device_udev.c
src/util/virlog.c
src/util/virlog.h