]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix the return value in udevKludgeStorageType
authorJán Tomko <jtomko@redhat.com>
Fri, 3 Jun 2016 16:04:23 +0000 (18:04 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 7 Jun 2016 10:13:59 +0000 (12:13 +0200)
commit4ccf6886c8efb46bce1d144d01b88e2e3f90ebb1
tree238d4f699625e6d52a31a24ec9e5b915aa301a6e
parentdf7291c31c80380bdbe2fed5d7c6615274cd4c67
Fix the return value in udevKludgeStorageType

Since the switch to VIR_STRDUP this function returns 1 on success,
but the caller treats any non-zero value as failure.
src/node_device/node_device_udev.c