From: Peter Maydell <peter.maydell@linaro.org>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, Jim Meyering <meyering@redhat.com>,
patches@linaro.org
Subject: [Qemu-devel] [PATCH] qga/commands-posix.c: Fix typo in error message
Date: Wed, 9 May 2012 15:12:29 +0100 [thread overview]
Message-ID: <1336572749-12718-1-git-send-email-peter.maydell@linaro.org> (raw)
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
NB: might trivially textually conflict with Jim Meyering's
strncpy fix here. (I spotted this typo in the context lines
for his patch...)
qga/commands-posix.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/qga/commands-posix.c b/qga/commands-posix.c
index d58730a..0878ec7 100644
--- a/qga/commands-posix.c
+++ b/qga/commands-posix.c
@@ -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.1
next reply other threads:[~2012-05-09 14:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-09 14:12 Peter Maydell [this message]
2012-05-09 14:41 ` [Qemu-devel] [PATCH] qga/commands-posix.c: Fix typo in error message Jim Meyering
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1336572749-12718-1-git-send-email-peter.maydell@linaro.org \
--to=peter.maydell@linaro.org \
--cc=meyering@redhat.com \
--cc=patches@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).