Received: from eggs.gnu.org ([208.118.235.92]:50206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ST77h-000744-60 for qemu-devel@nongnu.org; Sat, 12 May 2012 03:52:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ST77f-0006oq-B4 for qemu-devel@nongnu.org; Sat, 12 May 2012 03:52:16 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:57884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ST77f-0006oh-1T for qemu-devel@nongnu.org; Sat, 12 May 2012 03:52:15 -0400 From: Stefan Weil Date: Sat, 12 May 2012 09:52:11 +0200 Message-Id: <1336809131-29756-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH 1.1] Fix new spelling bugs detected by codespell List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Weil , Anthony Liguori These new bugs were detected in comments and in an error message: addres->address arithmentic->arithmetic explictly->explicitly neccessary->necessary preceeding->preceding unecessary->unnecessary Signed-off-by: Stefan Weil --- coroutine-sigaltstack.c | 2 +- qapi-schema-guest.json | 2 +- qemu-ga.c | 2 +- qga/commands-posix.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/coroutine-sigaltstack.c b/coroutine-sigaltstack.c index 7ff2d33..7fa2e85 100644 --- a/coroutine-sigaltstack.c +++ b/coroutine-sigaltstack.c @@ -257,7 +257,7 @@ static Coroutine *coroutine_new(void) /* * Now enter the trampoline again, but this time not as a signal * handler. Instead we jump into it directly. The functionally - * redundant ping-pong pointer arithmentic is neccessary to avoid + * redundant ping-pong pointer arithmetic is necessary to avoid * type-conversion warnings related to the `volatile' qualifier and * the fact that `jmp_buf' usually is an array type. */ diff --git a/qapi-schema-guest.json b/qapi-schema-guest.json index d7a073e..692b570 100644 --- a/qapi-schema-guest.json +++ b/qapi-schema-guest.json @@ -18,7 +18,7 @@ # lexer/tokenizer/parser state should be flushed/reset in # preparation for reliably receiving the subsequent response. As # an optimization, clients may opt to ignore all data until a -# sentinel value is receiving to avoid unecessary processing of +# sentinel value is receiving to avoid unnecessary processing of # stale data. # # Similarly, clients should also precede this *request* diff --git a/qemu-ga.c b/qemu-ga.c index 216be39..680997e 100644 --- a/qemu-ga.c +++ b/qemu-ga.c @@ -304,7 +304,7 @@ static void ga_disable_non_whitelisted(void) g_free(list_head); } -/* [re-]enable all commands, except those explictly blacklisted by user */ +/* [re-]enable all commands, except those explicitly blacklisted by user */ static void ga_enable_non_blacklisted(GList *blacklist) { char **list_head, **list; diff --git a/qga/commands-posix.c b/qga/commands-posix.c index d58730a..e448431 100644 --- a/qga/commands-posix.c +++ b/qga/commands-posix.c @@ -487,7 +487,7 @@ int64_t qmp_guest_fsfreeze_thaw(Error **err) * was returned the filesystem was *not* unfrozen by that particular * call. * - * since multiple preceeding FIFREEZEs require multiple calls to FITHAW + * since multiple preceding FIFREEZEs require multiple calls to FITHAW * to unfreeze, continuing issuing FITHAW until an error is returned, * in which case either the filesystem is in an unfreezable state, or, * more likely, it was thawed previously (and remains so afterward). @@ -789,7 +789,7 @@ GuestNetworkInterfaceList *qmp_guest_network_get_interfaces(Error **errp) strncpy(ifr.ifr_name, info->value->name, IF_NAMESIZE); if (ioctl(sock, SIOCGIFHWADDR, &ifr) == -1) { snprintf(err_msg, sizeof(err_msg), - "failed to get MAC addres of %s: %s", + "failed to get MAC address of %s: %s", ifa->ifa_name, strerror(errno)); error_set(errp, QERR_QGA_COMMAND_FAILED, err_msg); -- 1.7.9