* [PATCH] Fix typo on DBG() string format
@ 2011-02-23 12:27 Anderson Lizardo
2011-02-23 14:51 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Anderson Lizardo @ 2011-02-23 12:27 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Anderson Lizardo
---
attrib/client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/attrib/client.c b/attrib/client.c
index 0f9ba3e..4635c75 100644
--- a/attrib/client.c
+++ b/attrib/client.c
@@ -299,7 +299,7 @@ static void events_handler(const uint8_t *pdu, uint16_t len,
NULL, NULL, NULL);
case ATT_OP_HANDLE_NOTIFY:
if (characteristic_set_value(chr, &pdu[3], len - 3) < 0)
- DBG("Can't change Characteristic %0x02x", handle);
+ DBG("Can't change Characteristic 0x%02x", handle);
g_slist_foreach(prim->watchers, update_watchers, chr);
break;
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] Fix typo on DBG() string format
2011-02-23 12:27 [PATCH] Fix typo on DBG() string format Anderson Lizardo
@ 2011-02-23 14:51 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2011-02-23 14:51 UTC (permalink / raw)
To: Anderson Lizardo; +Cc: linux-bluetooth
Hi Lizardo,
On Wed, Feb 23, 2011, Anderson Lizardo wrote:
> ---
> attrib/client.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/attrib/client.c b/attrib/client.c
> index 0f9ba3e..4635c75 100644
> --- a/attrib/client.c
> +++ b/attrib/client.c
> @@ -299,7 +299,7 @@ static void events_handler(const uint8_t *pdu, uint16_t len,
> NULL, NULL, NULL);
> case ATT_OP_HANDLE_NOTIFY:
> if (characteristic_set_value(chr, &pdu[3], len - 3) < 0)
> - DBG("Can't change Characteristic %0x02x", handle);
> + DBG("Can't change Characteristic 0x%02x", handle);
>
> g_slist_foreach(prim->watchers, update_watchers, chr);
> break;
Good catch. The patch has been pushed upstream.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-23 14:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-23 12:27 [PATCH] Fix typo on DBG() string format Anderson Lizardo
2011-02-23 14:51 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox