From 113bdd7504d69f483c4208bc30a457b7ff4b69fa Mon Sep 17 00:00:00 2001 From: Steve Block Date: Thu, 5 Jan 2012 23:18:54 +0000 Subject: Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I05dd3a5e5f671c0fdc17bf4e3d52395ccdb56e45 --- Linux_x86/phDal4Nfc_uart.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Linux_x86') diff --git a/Linux_x86/phDal4Nfc_uart.c b/Linux_x86/phDal4Nfc_uart.c index b19c5c5..e8dbce9 100644 --- a/Linux_x86/phDal4Nfc_uart.c +++ b/Linux_x86/phDal4Nfc_uart.c @@ -253,11 +253,11 @@ static int apply_errors(uint8_t *buffer, int length) { // 50% chance of dropping byte length--; memcpy(&buffer[i], &buffer[i+1], length-i); - LOGW("dropped byte %d", i); + ALOGW("dropped byte %d", i); } else { // 50% chance of corruption buffer[i] = (uint8_t)rand(); - LOGW("corrupted byte %d", i); + ALOGW("corrupted byte %d", i); } } } @@ -344,7 +344,7 @@ int phDal4Nfc_uart_read(uint8_t * pBuffer, int nNbBytesToRead) } return -1; } else if (ret == 0) { - LOGW("timeout!"); + ALOGW("timeout!"); break; // return partial response } ret = read(gComPortContext.nHandle, pBuffer + numRead, nNbBytesToRead - numRead); -- cgit v1.1