Return-Path: MIME-Version: 1.0 In-Reply-To: <1328607191-9550-2-git-send-email-sancane@gmail.com> References: <1328607191-9550-1-git-send-email-sancane@gmail.com> <1328607191-9550-2-git-send-email-sancane@gmail.com> Date: Tue, 7 Feb 2012 06:54:17 -0400 Message-ID: Subject: Re: [PATCH 2/2] attrib-server: Fix bad error message From: Anderson Lizardo To: Santiago Carot-Nemesio Cc: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Santiago, On Tue, Feb 7, 2012 at 5:33 AM, Santiago Carot-Nemesio wrote: > --- > ?src/attrib-server.c | ? ?2 +- > ?1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/attrib-server.c b/src/attrib-server.c > index a23d5d2..3d4634f 100644 > --- a/src/attrib-server.c > +++ b/src/attrib-server.c > @@ -171,7 +171,7 @@ static struct gatt_server *find_gatt_server(const bdaddr_t *bdaddr) > ? ? ? ? ? ? ? ?char addr[18]; > > ? ? ? ? ? ? ? ?ba2str(bdaddr, addr); > - ? ? ? ? ? ? ? error("Not GATT adapter found for address %s", addr); > + ? ? ? ? ? ? ? error("Not GATT server found in %s", addr); You can also fix: Not -> No > ? ? ? ? ? ? ? ?return NULL; > ? ? ? ?} > > -- > 1.7.9 Best Regards, -- Anderson Lizardo Instituto Nokia de Tecnologia - INdT Manaus - Brazil