OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12c5f19
)
monitor: Fix format string for UUID-128 print out
author
Marcel Holtmann
<marcel@holtmann.org>
Mon, 2 Sep 2013 18:43:57 +0000
(11:43 -0700)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 2 Sep 2013 18:43:57 +0000
(11:43 -0700)
monitor/packet.c
patch
|
blob
|
history
diff --git
a/monitor/packet.c
b/monitor/packet.c
index
5651c51
..
a16942e
100644
(file)
--- a/
monitor/packet.c
+++ b/
monitor/packet.c
@@
-2008,7
+2008,7
@@
static void print_uuid128_list(const char *label, const void *data,
for (i = 0; i < count; i++) {
const uint8_t *uuid = data + (i * 16);
- print_field(" %
.8x-%.4x-%.4x-%.4x-%.8x%
.4x",
+ print_field(" %
8.8x-%4.4x-%4.4x-%4.4x-%8.8x%4
.4x",
bt_get_le32(&uuid[12]), bt_get_le16(&uuid[10]),
bt_get_le16(&uuid[8]), bt_get_le16(&uuid[6]),
bt_get_le32(&uuid[2]), bt_get_le16(&uuid[0]));