From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SS7dA-0006pp-SZ for qemu-devel@nongnu.org; Wed, 09 May 2012 10:12:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SS7d4-0000wh-Lh for qemu-devel@nongnu.org; Wed, 09 May 2012 10:12:40 -0400 From: Peter Maydell Date: Wed, 9 May 2012 15:12:29 +0100 Message-Id: <1336572749-12718-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH] qga/commands-posix.c: Fix typo in error message List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Jim Meyering , patches@linaro.org Signed-off-by: Peter Maydell --- 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