mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
conf: Substitute OPERATION_INVALID with INTERNAL_ERROR
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user