[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] [PATCH] conf: Substitute OPERATION_INVALID with INTERNAL_ERROR
- From: Osier Yang <jyang redhat com>
- To: libvir-list redhat com
- Subject: [libvirt] [PATCH] conf: Substitute OPERATION_INVALID with INTERNAL_ERROR
- Date: Thu, 1 Sep 2011 14:15:54 +0800
---
src/conf/node_device_conf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/conf/node_device_conf.c b/src/conf/node_device_conf.c
index 4803e2a..6b0ef50 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) {
--
1.7.6
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]