From: Osier Yang Date: Thu, 1 Sep 2011 09:31:24 +0000 (+0800) Subject: conf: Substitute OPERATION_INVALID with INTERNAL_ERROR X-Git-Tag: v0.9.5-rc1~123 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c2c713dd00f03d061d572fa72212f469a335fdf1;p=thirdparty%2Flibvirt.git conf: Substitute OPERATION_INVALID with INTERNAL_ERROR --- diff --git a/src/conf/node_device_conf.c b/src/conf/node_device_conf.c index 4803e2a256..6b0ef50f4c 100644 --- a/src/conf/node_device_conf.c +++ b/src/conf/node_device_conf.c @@ -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) {