diff options
author | Steve Block <steveblock@google.com> | 2012-01-06 19:10:18 +0000 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2012-01-06 19:10:18 +0000 |
commit | a12acb119fa8cda91ca23d191b41b9438402e4d1 (patch) | |
tree | a392e27feb2995a6747e4bdf1b764ddcb6db4260 /Linux_x86/phDal4Nfc_uart.c | |
parent | 113bdd7504d69f483c4208bc30a457b7ff4b69fa (diff) | |
download | external_libnfc-nxp-a12acb119fa8cda91ca23d191b41b9438402e4d1.zip external_libnfc-nxp-a12acb119fa8cda91ca23d191b41b9438402e4d1.tar.gz external_libnfc-nxp-a12acb119fa8cda91ca23d191b41b9438402e4d1.tar.bz2 |
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: I935ee4450e2e62ced1537bafb787ad402cfcb69c
Diffstat (limited to 'Linux_x86/phDal4Nfc_uart.c')
-rw-r--r-- | Linux_x86/phDal4Nfc_uart.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Linux_x86/phDal4Nfc_uart.c b/Linux_x86/phDal4Nfc_uart.c index e8dbce9..520ab9c 100644 --- a/Linux_x86/phDal4Nfc_uart.c +++ b/Linux_x86/phDal4Nfc_uart.c @@ -423,19 +423,19 @@ int phDal4Nfc_uart_reset(long level) DAL_DEBUG("phDal4Nfc_uart_reset, VEN level = %ld", level); if (snprintf(buffer, sizeof(buffer), "%u", (unsigned int)level) != 1) { - LOGE("Bad nfc power level (%u)", (unsigned int)level); + ALOGE("Bad nfc power level (%u)", (unsigned int)level); goto out; } fd = open(NFC_POWER_PATH, O_WRONLY); if (fd < 0) { - LOGE("open(%s) for write failed: %s (%d)", NFC_POWER_PATH, + ALOGE("open(%s) for write failed: %s (%d)", NFC_POWER_PATH, strerror(errno), errno); goto out; } sz = write(fd, &buffer, sizeof(buffer) - 1); if (sz < 0) { - LOGE("write(%s) failed: %s (%d)", NFC_POWER_PATH, strerror(errno), + ALOGE("write(%s) failed: %s (%d)", NFC_POWER_PATH, strerror(errno), errno); goto out; } |