]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: make error message in qemuDomainPCIAddressSetCreate more clear.
authorLaine Stump <laine@laine.org>
Thu, 13 Oct 2016 18:50:23 +0000 (14:50 -0400)
committerLaine Stump <laine@laine.org>
Sun, 23 Oct 2016 16:36:04 +0000 (12:36 -0400)
This error should only ever be seen by a developer anyway, but the
existing message made even less sense that this new version.

src/qemu/qemu_domain_address.c

index 4380840bb14ddf649d471388a40797741674657d..aac363f96596740abffa69a0a88a43021089482f 100644 (file)
@@ -585,7 +585,7 @@ qemuDomainPCIAddressSetCreate(virDomainDefPtr def,
         if (idx >= addrs->nbuses) {
             virReportError(VIR_ERR_INTERNAL_ERROR,
                            _("Inappropriate new pci controller index %zu "
-                             "not found in addrs"), idx);
+                             "exceeds addrs array length"), idx);
             goto error;
         }