node_device_udev: remove yoda condition

This commit is contained in:
Ján Tomko 2016-06-03 19:41:43 +02:00
parent 29c2a9cc21
commit 0c8fe3d457

View File

@ -1206,7 +1206,7 @@ static int udevEnumerateDevices(struct udev *udev)
udev_enumerate = udev_enumerate_new(udev);
ret = udev_enumerate_scan_devices(udev_enumerate);
if (0 != ret) {
if (ret != 0) {
virReportError(VIR_ERR_INTERNAL_ERROR,
_("udev scan devices returned %d"),
ret);