summaryrefslogtreecommitdiffstats
path: root/btif/src/btif_sock.c
diff options
context:
space:
mode:
Diffstat (limited to 'btif/src/btif_sock.c')
-rw-r--r--btif/src/btif_sock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/btif/src/btif_sock.c b/btif/src/btif_sock.c
index 816d4e3..a687553 100644
--- a/btif/src/btif_sock.c
+++ b/btif/src/btif_sock.c
@@ -68,10 +68,10 @@
#include "btif_sock_thread.h"
#include "btif_sock_rfc.h"
#include <cutils/log.h>
-#define info(fmt, ...) LOGI ("btif_sock: %s: " fmt,__FUNCTION__, ## __VA_ARGS__)
-#define debug(fmt, ...) LOGD ("btif_sock: %s: " fmt,__FUNCTION__, ## __VA_ARGS__)
-#define error(fmt, ...) LOGE ("btif_sock: ## ERROR : %s: " fmt "##",__FUNCTION__, ## __VA_ARGS__)
-#define asrt(s) if(!(s)) LOGE ("btif_sock: ## %s assert %s failed at line:%d ##",__FUNCTION__, #s, __LINE__)
+#define info(fmt, ...) ALOGI ("btif_sock: %s: " fmt,__FUNCTION__, ## __VA_ARGS__)
+#define debug(fmt, ...) ALOGD ("btif_sock: %s: " fmt,__FUNCTION__, ## __VA_ARGS__)
+#define error(fmt, ...) ALOGE ("btif_sock: ## ERROR : %s: " fmt "##",__FUNCTION__, ## __VA_ARGS__)
+#define asrt(s) if(!(s)) ALOGE ("btif_sock: ## %s assert %s failed at line:%d ##",__FUNCTION__, #s, __LINE__)
static bt_status_t btsock_listen(btsock_type_t type, const char* service_name,
const uint8_t* uuid, int channel, int* sock_fd, int flags);