summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-05 23:21:54 +0000
committerSteve Block <steveblock@google.com>2012-01-05 23:21:54 +0000
commit9f71f85140223aa110f29440cfb87de2d760761a (patch)
tree99c284103de319d349147364180394a3ca4a0952
parent64661e48d99f432299e40bde2d11b26944a71dd4 (diff)
downloadbluetooth-9f71f85140223aa110f29440cfb87de2d760761a.tar.gz
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I3216dd68b93e8e407f4416f8d42b3972d4234eff
-rw-r--r--bluedroid/bluetooth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bluedroid/bluetooth.c b/bluedroid/bluetooth.c
index 7a9e715..a57b8f7 100644
--- a/bluedroid/bluetooth.c
+++ b/bluedroid/bluetooth.c
@@ -55,7 +55,7 @@ static int init_rfkill() {
snprintf(path, sizeof(path), "/sys/class/rfkill/rfkill%d/type", id);
fd = open(path, O_RDONLY);
if (fd < 0) {
- LOGW("open(%s) failed: %s (%d)\n", path, strerror(errno), errno);
+ ALOGW("open(%s) failed: %s (%d)\n", path, strerror(errno), errno);
return -1;
}
sz = read(fd, &buf, sizeof(buf));
@@ -173,7 +173,7 @@ int bt_enable() {
if (!ret) {
break;
} else if (errno == EALREADY) {
- LOGW("Bluetoothd already started, unexpectedly!");
+ ALOGW("Bluetoothd already started, unexpectedly!");
break;
}