util: NUMA: Change error code in virNumaNodesetIsAvailable()

An invalid nodeset is a configuration problem rather than an internal
error.
This commit is contained in:
Peter Krempa 2015-03-25 10:05:58 +01:00
parent 225f7bf75c
commit 8ad871f39e

View File

@ -977,7 +977,7 @@ virNumaNodesetIsAvailable(virBitmapPtr nodeset)
if (virNumaNodeIsAvailable(bit))
continue;
virReportError(VIR_ERR_INTERNAL_ERROR,
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
_("NUMA node %zd is unavailable"), bit);
return false;
}