1
0
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:
Osier Yang 2011-09-01 17:31:24 +08:00
parent 6ff9fc26d3
commit c2c713dd00

View File

@ -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) {