From patchwork Wed May 9 14:12:29 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 8499 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id DA87023E42 for ; Wed, 9 May 2012 14:12:35 +0000 (UTC) Received: from mail-wg0-f48.google.com (mail-wg0-f48.google.com [74.125.82.48]) by fiordland.canonical.com (Postfix) with ESMTP id CB10BA18A2F for ; Wed, 9 May 2012 14:12:35 +0000 (UTC) Received: by wgbdq11 with SMTP id dq11so249791wgb.17 for ; Wed, 09 May 2012 07:12:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=xZ8Us5L9nmMIKr5kySQ5w1NCL4usg8s/YVXtXXppzYY=; b=CInJqGoJPRVvCAmfH+3vwUzpzAo8KjWKPYDnMuyR4x8iYq+tSIVCMZ7KlJB9lnfUIe MeYli3EgN2sluS97YgsJvGJnb8kksBoCvGZI5CQK0sksnaVkmTx/an+lmBvDsBZBUhRP mUogCH6p5NWt+Nq8OItvJFGxsl4MgxxDTMUp3faeUw4Ek2hLecH2B38aDGvHjB6v6Ify Yy4de6+rXxEfgchMxnab1jxAcr2X/EQNs9v7hUJpxDh89gGRLCAWdb9jGS2HRzH4hZVU WqTGX6tkfUOUMkcAIAuTia2vqft3W/7kEuZDQNDQZgfHfBVhIseC5FghI93afchKliVe aKWA== Received: by 10.42.130.7 with SMTP id t7mr105440ics.43.1336572755064; Wed, 09 May 2012 07:12:35 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.73.147 with SMTP id q19csp19166ibj; Wed, 9 May 2012 07:12:34 -0700 (PDT) Received: by 10.180.107.104 with SMTP id hb8mr737698wib.8.1336572753839; Wed, 09 May 2012 07:12:33 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by mx.google.com with ESMTPS id 75si3308834wet.19.2012.05.09.07.12.33 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 May 2012 07:12:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) client-ip=81.2.115.146; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 81.2.115.146 as permitted sender) smtp.mail=pm215@archaic.org.uk Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1SS7cz-0003Jb-Gc; Wed, 09 May 2012 15:12:29 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, qemu-trivial@nongnu.org, Jim Meyering Subject: [PATCH] qga/commands-posix.c: Fix typo in error message Date: Wed, 9 May 2012 15:12:29 +0100 Message-Id: <1336572749-12718-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 X-Gm-Message-State: ALoCoQl9gVRS1kczxtJZbnm4Ut9MPKDBU3bheJHIZXO2cDnH3z1XBKiYRrZGrxkXY5uroKJXDRaF 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);