conf: Cleanup improper use of VIR_ERR_NO_SUPPORT in node_device_conf

This commit is contained in:
Osier Yang 2011-08-23 15:04:00 +08:00
parent 825d91cd31
commit 49218c59b2

View File

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