mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
conf: Substitute OPERATION_INVALID with INTERNAL_ERROR
This commit is contained in:
parent
6ff9fc26d3
commit
c2c713dd00
@ -1277,7 +1277,7 @@ virNodeDeviceGetWWNs(virNodeDeviceDefPtr def,
|
||||
}
|
||||
|
||||
if (cap == NULL) {
|
||||
virNodeDeviceReportError(VIR_ERR_OPERATION_INVALID,
|
||||
virNodeDeviceReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
"%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