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:
89dc0b4
)
android/hid: Add error message to error print
author
Andrei Emeltchenko
<andrei.emeltchenko@intel.com>
Thu, 31 Oct 2013 14:45:05 +0000
(16:45 +0200)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 31 Oct 2013 14:58:09 +0000
(16:58 +0200)
android/hid.c
patch
|
blob
|
history
diff --git
a/android/hid.c
b/android/hid.c
index
5caa25b
..
4075ecb
100644
(file)
--- a/
android/hid.c
+++ b/
android/hid.c
@@
-419,7
+419,7
@@
bool bt_hid_register(GIOChannel *io, const bdaddr_t *addr)
BT_IO_OPT_SEC_LEVEL, BT_IO_SEC_LOW,
BT_IO_OPT_INVALID);
if (!ctrl_io) {
- error("Failed to listen on c
ontrol channel"
);
+ error("Failed to listen on c
trl channel: %s", err->message
);
g_error_free(err);
return false;
}
@@
-429,7
+429,7
@@
bool bt_hid_register(GIOChannel *io, const bdaddr_t *addr)
BT_IO_OPT_SEC_LEVEL, BT_IO_SEC_LOW,
BT_IO_OPT_INVALID);
if (!intr_io) {
- error("Failed to listen on int
errupt channel"
);
+ error("Failed to listen on int
r channel: %s", err->message
);
g_io_channel_unref(ctrl_io);
g_error_free(err);
return false;