]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: migration: use consistent error message
authorCole Robinson <crobinso@redhat.com>
Thu, 9 Jun 2016 11:19:41 +0000 (07:19 -0400)
committerCole Robinson <crobinso@redhat.com>
Thu, 16 Jun 2016 13:52:51 +0000 (09:52 -0400)
The other two DomainHasBlockJob usage error messages don't contain
'an', so unify things to save translators some effort. Dropping
the 'an' is closer to the sentence structure in the errors from
qemuDomainDiskBlockJobIsActive as well

src/qemu/qemu_migration.c

index 89350c89f42f12a2d2e44416e56317b3fcacae25..a1ce84e442c411ddb2b5daa53a5977bdc2dd704f 100644 (file)
@@ -2301,7 +2301,7 @@ qemuMigrationIsAllowed(virQEMUDriverPtr driver,
 
         if (qemuDomainHasBlockjob(vm, false)) {
             virReportError(VIR_ERR_OPERATION_INVALID, "%s",
-                           _("domain has an active block job"));
+                           _("domain has active block job"));
             return false;
         }