diff options
author | Steve Block <steveblock@google.com> | 2012-01-04 19:19:03 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-04 19:23:34 +0000 |
commit | fe71a61e5b0cb666675900d206251a7c18ed944b (patch) | |
tree | e76dbede05c1e6b92ea4e05878745c6d21ed9d4b /libcutils/selector.c | |
parent | 8d66c49258ac4f59bd67c23c9c914cca81f85b01 (diff) | |
download | system_core-fe71a61e5b0cb666675900d206251a7c18ed944b.zip system_core-fe71a61e5b0cb666675900d206251a7c18ed944b.tar.gz system_core-fe71a61e5b0cb666675900d206251a7c18ed944b.tar.bz2 |
Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
Bug: 5449033
Change-Id: I4951baa981f09a84ce483e3d1bd0f9ebe009035f
Diffstat (limited to 'libcutils/selector.c')
-rw-r--r-- | libcutils/selector.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcutils/selector.c b/libcutils/selector.c index 9aef5fa..3776bbb 100644 --- a/libcutils/selector.c +++ b/libcutils/selector.c @@ -48,7 +48,7 @@ static void eatWakeupData(SelectableFd* wakeupFd) { static char garbage[64]; if (read(wakeupFd->fd, garbage, sizeof(garbage)) < 0) { if (errno == EINTR) { - LOGI("read() interrupted."); + ALOGI("read() interrupted."); } else { LOG_ALWAYS_FATAL("This should never happen: %s", strerror(errno)); } @@ -77,7 +77,7 @@ void selectorWakeUp(Selector* selector) { static char garbage[1]; if (write(selector->wakeupPipe[1], garbage, sizeof(garbage)) < 0) { if (errno == EINTR) { - LOGI("read() interrupted."); + ALOGI("read() interrupted."); } else { LOG_ALWAYS_FATAL("This should never happen: %s", strerror(errno)); } @@ -251,7 +251,7 @@ void selectorLoop(Selector* selector) { if (result == -1) { // Abort on everything except EINTR. if (errno == EINTR) { - LOGI("select() interrupted."); + ALOGI("select() interrupted."); } else { LOG_ALWAYS_FATAL("select() error: %s", strerror(errno)); |