From patchwork Thu Jun 9 12:15:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cole Robinson X-Patchwork-Id: 69709 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp296173qgf; Thu, 9 Jun 2016 05:19:07 -0700 (PDT) X-Received: by 10.28.136.80 with SMTP id k77mr10208937wmd.24.1465474747526; Thu, 09 Jun 2016 05:19:07 -0700 (PDT) Return-Path: Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com. [209.132.183.24]) by mx.google.com with ESMTPS id p7si37871914wmd.23.2016.06.09.05.19.06 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 09 Jun 2016 05:19:07 -0700 (PDT) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.24 as permitted sender) client-ip=209.132.183.24; Authentication-Results: mx.google.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.24 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u59CGOto005826; Thu, 9 Jun 2016 08:16:24 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id u59CGLgS016526 for ; Thu, 9 Jun 2016 08:16:21 -0400 Received: from colepc.redhat.com (ovpn-116-214.phx2.redhat.com [10.3.116.214]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u59CGJhD011190; Thu, 9 Jun 2016 08:16:20 -0400 From: Cole Robinson To: libvirt-list@redhat.com Date: Thu, 9 Jun 2016 08:15:54 -0400 Message-Id: <67c7d25240c07bec3e331d9c0f411ccec1aff952.1465474475.git.crobinso@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 2/2] qemu: migration: use consistent error message X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com 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 --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; }