Re: [libvirt] [PATCH v2] node_device: Check return value for udev_new()

2017-02-20 Thread Marc Hartmayer
On Mon, Feb 20, 2017 at 02:48 PM +0100, Martin Kletzander wrote: > On Fri, Feb 10, 2017 at 10:44:44AM +0100, Marc Hartmayer wrote: >>The comment was actually wrong as >>https://www.freedesktop.org/software/systemd/man/udev_new.html# >>mentions that on failure NULL is

Re: [libvirt] [PATCH v2] node_device: Check return value for udev_new()

2017-02-20 Thread Martin Kletzander
On Fri, Feb 10, 2017 at 10:44:44AM +0100, Marc Hartmayer wrote: The comment was actually wrong as https://www.freedesktop.org/software/systemd/man/udev_new.html# mentions that on failure NULL is returned. Signed-off-by: Marc Hartmayer ---

[libvirt] [PATCH v2] node_device: Check return value for udev_new()

2017-02-10 Thread Marc Hartmayer
The comment was actually wrong as https://www.freedesktop.org/software/systemd/man/udev_new.html# mentions that on failure NULL is returned. Signed-off-by: Marc Hartmayer --- src/node_device/node_device_udev.c | 11 +-- 1 file changed, 5 insertions(+), 6