From patchwork Thu Dec 1 20:56:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuri Chornoivan X-Patchwork-Id: 86149 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp881589qgi; Thu, 1 Dec 2016 13:00:11 -0800 (PST) X-Received: by 10.194.222.169 with SMTP id qn9mr35085719wjc.62.1480626011177; Thu, 01 Dec 2016 13:00:11 -0800 (PST) Return-Path: Received: from mx3-phx2.redhat.com (mx3-phx2.redhat.com. [209.132.183.24]) by mx.google.com with ESMTPS id c5si1825084wjv.264.2016.12.01.13.00.09 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 01 Dec 2016 13:00:10 -0800 (PST) Received-SPF: permerror (google.com: permanent error in processing during lookup of libvir-list-bounces@redhat.com: _spf1.redhat.com not found) client-ip=209.132.183.24; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ukr.net; spf=permerror (google.com: permanent error in processing during lookup of libvir-list-bounces@redhat.com: _spf1.redhat.com not found) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail (p=NONE dis=NONE) header.from=ukr.net 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 uB1Kuce9012089; Thu, 1 Dec 2016 15:56:39 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id uB1KuawQ023155 for ; Thu, 1 Dec 2016 15:56:37 -0500 Received: from mx1.redhat.com (ext-mx04.extmail.prod.ext.phx2.redhat.com [10.5.110.28]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uB1KuaN8006063 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 1 Dec 2016 15:56:36 -0500 Received: from frv25.fwdcdn.com (frv25.fwdcdn.com [212.42.77.25]) by mx1.redhat.com (Postfix) with ESMTP id 2002769CCD for ; Thu, 1 Dec 2016 20:56:35 +0000 (UTC) Received: from [10.10.14.28] (helo=frv154.fwdcdn.com) by frv25.fwdcdn.com QID:1cCYPB-000OJo-OK/RC:1; Thu, 01 Dec 2016 22:56:33 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=fsm; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=xNv0kFiAwdt4GIh+kIhlYaFUgC1pdsoWuxXB8x7u5s8=; b=F tSWdHEoUsrWaH/edBETBDM89MQGnOYXkhytYLRn6DtsBWj9cSvg4qBNqN1uznhCBmEtlFg9oopFLu V4wHHxNTsyM4h+QArFYFIItYrcrs0fNN9a/9sM0onf2rphmm5Q6yvSr3RBKiy0B20VHUFytDo4Uav mz7IhZEUjoPsphHY=; Received: from ip-4ffd.proline.net.ua ([93.126.79.253] helo=localhost.localdomain) by frv154.fwdcdn.com with esmtpsa ID 1cCYP4-000GAE-Je for libvir-list@redhat.com; Thu, 01 Dec 2016 22:56:26 +0200 From: Yuri Chornoivan To: "libvir-list@redhat.com" Date: Thu, 01 Dec 2016 22:56:25 +0200 Message-ID: <1878756.LDGLRep1rW@localhost.localdomain> Organization: S.P. Timoshenko Institute of Mechanics User-Agent: KMail/4.14.5 (Linux/4.4.32-desktop-1.mga5; KDE/4.14.5; x86_64; ; ) MIME-Version: 1.0 Authentication-Result: IP=93.126.79.253; mail.from=yurchor@ukr.net; dkim=pass; header.d=ukr.net X-Ukrnet-Yellow: 0 X-Greylist: Sender passed SPF test, Sender IP whitelisted by DNSRBL, ACL 199 matched, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 01 Dec 2016 20:56:35 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Thu, 01 Dec 2016 20:56:35 +0000 (UTC) for IP:'212.42.77.25' DOMAIN:'frv25.fwdcdn.com' HELO:'frv25.fwdcdn.com' FROM:'yurchor@ukr.net' RCPT:'' X-RedHat-Spam-Score: 3.39 *** (BAYES_99, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_PASS) 212.42.77.25 frv25.fwdcdn.com 212.42.77.25 frv25.fwdcdn.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.28 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] Fix minor typos 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com Hi, Attached is a minor fix for the typos found while translating libvirt. Best regards, Yuri P. S. Sorry for the lame format. My mail provider rejects direct sending emails from git send. -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list >From 961c753702de3e4c2bb564fc97f144d72cfca886 Mon Sep 17 00:00:00 2001 From: Yuri Chornoivan Date: Thu, 1 Dec 2016 22:50:08 +0200 Subject: [PATCH] Fix minor typos --- daemon/stream.c | 2 +- docs/internals/command.html.in | 2 +- src/qemu/qemu_domain_address.c | 2 +- src/storage/storage_backend_disk.c | 4 ++-- src/test/test_driver.c | 2 +- src/util/virstring.c | 2 +- src/vbox/vbox_tmpl.c | 4 ++-- tools/virsh-nodedev.c | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/daemon/stream.c b/daemon/stream.c index 533ecf7..11c0a46 100644 --- a/daemon/stream.c +++ b/daemon/stream.c @@ -719,7 +719,7 @@ daemonStreamHandleWrite(virNetServerClientPtr client, * worth of data, and then queues that for transmission * to the client. * - * Returns 0 if data was queued for TX, or a error RPC + * Returns 0 if data was queued for TX, or an error RPC * was sent, or -1 on fatal error, indicating client should * be killed */ diff --git a/docs/internals/command.html.in b/docs/internals/command.html.in index c6131e3..2d8b093 100644 --- a/docs/internals/command.html.in +++ b/docs/internals/command.html.in @@ -122,7 +122,7 @@ virCommandAddArgFormat(cmd, "%d", count);

- To add a entire NULL terminated array of arguments in one go, + To add an entire NULL terminated array of arguments in one go, there are two options.

diff --git a/src/qemu/qemu_domain_address.c b/src/qemu/qemu_domain_address.c index 3a292ba..be4ed23 100644 --- a/src/qemu/qemu_domain_address.c +++ b/src/qemu/qemu_domain_address.c @@ -2320,7 +2320,7 @@ qemuAssignMemoryDeviceSlot(virDomainMemoryDefPtr mem, if ((nextslot = virBitmapNextClearBit(slotmap, -1)) < 0) { virReportError(VIR_ERR_INTERNAL_ERROR, "%s", - _("failed to find a emtpy memory slot")); + _("failed to find an empty memory slot")); return -1; } diff --git a/src/storage/storage_backend_disk.c b/src/storage/storage_backend_disk.c index 666ad03..97e5a8f 100644 --- a/src/storage/storage_backend_disk.c +++ b/src/storage/storage_backend_disk.c @@ -653,7 +653,7 @@ virStorageBackendDiskPartFormat(virStoragePoolObjPtr pool, return -1; } if (vol->target.format == VIR_STORAGE_VOL_DISK_EXTENDED) { - /* make sure we don't have a extended partition already */ + /* make sure we don't have an extended partition already */ for (i = 0; i < pool->volumes.count; i++) { if (pool->volumes.objs[i]->source.partType == VIR_STORAGE_VOL_DISK_TYPE_EXTENDED) { @@ -675,7 +675,7 @@ virStorageBackendDiskPartFormat(virStoragePoolObjPtr pool, return -1; break; case VIR_STORAGE_VOL_DISK_TYPE_LOGICAL: - /* make sure we have a extended partition */ + /* make sure we have an extended partition */ for (i = 0; i < pool->volumes.count; i++) { if (pool->volumes.objs[i]->source.partType == VIR_STORAGE_VOL_DISK_TYPE_EXTENDED) { diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 9eff82c..5a82f8e 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -2057,7 +2057,7 @@ testDomainSaveFlags(virDomainPtr domain, const char *path, /* Don't report failure in close or unlink, because * in either case we're already in a failure scenario - * and have reported a earlier error */ + * and have reported an earlier error */ if (ret != 0) { VIR_FORCE_CLOSE(fd); unlink(path); diff --git a/src/util/virstring.c b/src/util/virstring.c index 2ab252c..740cf4d 100644 --- a/src/util/virstring.c +++ b/src/util/virstring.c @@ -60,7 +60,7 @@ VIR_LOG_INIT("util.string"); * * As a special case, the result of splitting the empty string "" is an empty * vector, not a vector containing a single string. The reason for this - * special case is that being able to represent a empty vector is typically + * special case is that being able to represent an empty vector is typically * more useful than consistent handling of empty elements. If you do need * to represent empty elements, you'll need to check for the empty string * before calling virStringSplit(). diff --git a/src/vbox/vbox_tmpl.c b/src/vbox/vbox_tmpl.c index 38d01f4..67c9bf5 100644 --- a/src/vbox/vbox_tmpl.c +++ b/src/vbox/vbox_tmpl.c @@ -1793,7 +1793,7 @@ vboxConnectDomainEventRegister(virConnectPtr conn, vboxRet = 0; } - /* Get the vbox file handle and add a event handle to it + /* Get the vbox file handle and add an event handle to it * so that the events can be passed down to the user */ if (vboxRet == 0) { @@ -1900,7 +1900,7 @@ static int vboxConnectDomainEventRegisterAny(virConnectPtr conn, vboxRet = 0; } - /* Get the vbox file handle and add a event handle to it + /* Get the vbox file handle and add an event handle to it * so that the events can be passed down to the user */ if (vboxRet == 0) { diff --git a/tools/virsh-nodedev.c b/tools/virsh-nodedev.c index f76cade..9ede968 100644 --- a/tools/virsh-nodedev.c +++ b/tools/virsh-nodedev.c @@ -818,7 +818,7 @@ vshEventGenericPrint(virConnectPtr conn ATTRIBUTE_UNUSED, if (virTimeStringNowRaw(timestamp) < 0) timestamp[0] = '\0'; - vshPrint(data->ctl, _("%s: event '%s'' for node device %s\n"), + vshPrint(data->ctl, _("%s: event '%s' for node device %s\n"), timestamp, data->cb->name, virNodeDeviceGetName(dev)); -- 2.7.4