]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
qemu: Fix one type in the error prompt string
authorOsier Yang <jyang@redhat.com>
Fri, 10 Jun 2011 03:29:06 +0000 (11:29 +0800)
committerOsier Yang <jyang@redhat.com>
Fri, 10 Jun 2011 03:30:59 +0000 (11:30 +0800)
s/hostdevwork/hostdev/

src/qemu/qemu_command.c

index ef2d002c7dce991c1978c9b27a980d1f6104227e..4e6824125a173565b173c080b3d55a7fe16a3ea5 100644 (file)
@@ -553,7 +553,7 @@ qemuAssignDeviceHostdevAlias(virDomainDefPtr def, virDomainHostdevDefPtr hostdev
             int thisidx;
             if ((thisidx = qemuDomainDeviceAliasIndex(&def->hostdevs[i]->info, "hostdev")) < 0) {
                 qemuReportError(VIR_ERR_INTERNAL_ERROR, "%s",
-                                _("Unable to determine device index for hostdevwork device"));
+                                _("Unable to determine device index for hostdev device"));
                 return -1;
             }
             if (thisidx >= idx)