From 267915ee69a74804f203e94dee3acafdc2b3a43d Mon Sep 17 00:00:00 2001 From: Osier Yang Date: Wed, 22 May 2013 20:05:16 +0800 Subject: [PATCH] storage_conf: Fix the error type s/VIR_ERR_INTERNAL_ERROR/VIR_ERR_XML_ERROR/. --- src/conf/storage_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c index 64971852b0..ed9effdb82 100644 --- a/src/conf/storage_conf.c +++ b/src/conf/storage_conf.c @@ -829,7 +829,7 @@ virStoragePoolDefParseXML(xmlXPathContextPtr ctxt) type = virXPathString("string(./@type)", ctxt); if ((ret->type = virStoragePoolTypeFromString(type)) < 0) { - virReportError(VIR_ERR_INTERNAL_ERROR, + virReportError(VIR_ERR_XML_ERROR, _("unknown storage pool type %s"), type); goto cleanup; } -- 2.39.5