qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] qga/commands-posix.c: Fix typo in error message


From: Peter Maydell
Subject: [Qemu-devel] [PATCH] qga/commands-posix.c: Fix typo in error message
Date: Wed, 9 May 2012 15:12:29 +0100

Signed-off-by: Peter Maydell <address@hidden>
---
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]