Thread (2 messages) flat view 2 messages, 2 authors, 2011-02-23
STALE5644d

[PATCH] Fix typo on DBG() string format

From: Anderson Lizardo <hidden>
Date: 2011-02-23 12:27:17
Subsystem: the rest · Maintainer: Linus Torvalds

---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help