From patchwork Mon Aug 13 19:48:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luiz Capitulino X-Patchwork-Id: 177032 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 3AA3F2C0091 for ; Tue, 14 Aug 2012 05:48:53 +1000 (EST) Received: from localhost ([::1]:57256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T10d9-000882-6l for incoming@patchwork.ozlabs.org; Mon, 13 Aug 2012 15:48:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T10cs-0007wN-5S for qemu-devel@nongnu.org; Mon, 13 Aug 2012 15:48:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T10cr-0003hh-Aj for qemu-devel@nongnu.org; Mon, 13 Aug 2012 15:48:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:17681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T10cr-0003hX-2i for qemu-devel@nongnu.org; Mon, 13 Aug 2012 15:48:33 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7DJmWTL023104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 13 Aug 2012 15:48:32 -0400 Received: from localhost (ovpn-113-98.phx2.redhat.com [10.3.113.98]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q7DJmVS3016042; Mon, 13 Aug 2012 15:48:31 -0400 From: Luiz Capitulino To: aliguori@us.ibm.com Date: Mon, 13 Aug 2012 16:48:23 -0300 Message-Id: <1344887349-13041-3-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1344887349-13041-1-git-send-email-lcapitulino@redhat.com> References: <1344887349-13041-1-git-send-email-lcapitulino@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH 02/48] qerror: QERR_AMBIGUOUS_PATH: drop %(object) from human msg X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Actually, renames it to 'object'. This must be what the original author meant to write, as there's no 'object' in the error's data member. Signed-off-by: Luiz Capitulino Reviewed-by: Markus Armbruster --- qerror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qerror.c b/qerror.c index 92c4eff..082de98 100644 --- a/qerror.c +++ b/qerror.c @@ -49,7 +49,7 @@ static const QErrorStringTable qerror_table[] = { }, { .error_fmt = QERR_AMBIGUOUS_PATH, - .desc = "Path '%(path)' does not uniquely identify a %(object)" + .desc = "Path '%(path)' does not uniquely identify an object" }, { .error_fmt = QERR_BAD_BUS_FOR_DEVICE,