mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
conf: Cleanup improper use of VIR_ERR_NO_SUPPORT in node_device_conf
This commit is contained in:
parent
825d91cd31
commit
49218c59b2
@ -1277,7 +1277,7 @@ virNodeDeviceGetWWNs(virNodeDeviceDefPtr def,
|
||||
}
|
||||
|
||||
if (cap == NULL) {
|
||||
virNodeDeviceReportError(VIR_ERR_NO_SUPPORT,
|
||||
virNodeDeviceReportError(VIR_ERR_OPERATION_INVALID,
|
||||
"%s", _("Device is not a fibre channel HBA"));
|
||||
ret = -1;
|
||||
} else if (*wwnn == NULL || *wwpn == NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user