diff mbox

[2/2] qemu: migration: use consistent error message

Message ID 67c7d25240c07bec3e331d9c0f411ccec1aff952.1465474475.git.crobinso@redhat.com
State Accepted
Commit e6001cc557b8cd42e281d51adf475a21f36c77ac
Headers show

Commit Message

Cole Robinson June 9, 2016, 12:15 p.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
diff mbox

Patch

diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c
index 38c07a8..8afd2a7 100644
--- a/src/qemu/qemu_migration.c
+++ b/src/qemu/qemu_migration.c
@@ -2276,7 +2276,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;
         }