diff options
| author | 2012-01-05 23:22:43 +0000 | |
|---|---|---|
| committer | 2012-01-19 14:44:59 -0800 | |
| commit | a51f0e707f1f3142358aa919ea60ad2842803139 (patch) | |
| tree | 3a4bea403affd07f7611fe13da8cbf64a61ee3e3 /libs/utils/SystemClock.cpp | |
| parent | 933e85615059b85a87747da57288384541cc56da (diff) | |
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)
Change-Id: I8fbdfa7a7581f481968dbb65aa40f7042936d7cb
Diffstat (limited to 'libs/utils/SystemClock.cpp')
| -rw-r--r-- | libs/utils/SystemClock.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/utils/SystemClock.cpp b/libs/utils/SystemClock.cpp index 89a052fb97a4..8b8ac103151d 100644 --- a/libs/utils/SystemClock.cpp +++ b/libs/utils/SystemClock.cpp @@ -69,20 +69,20 @@ int setCurrentTimeMillis(int64_t millis) #ifdef HAVE_ANDROID_OS fd = open("/dev/alarm", O_RDWR); if(fd < 0) { - LOGW("Unable to open alarm driver: %s\n", strerror(errno)); + ALOGW("Unable to open alarm driver: %s\n", strerror(errno)); return -1; } ts.tv_sec = tv.tv_sec; ts.tv_nsec = tv.tv_usec * 1000; res = ioctl(fd, ANDROID_ALARM_SET_RTC, &ts); if(res < 0) { - LOGW("Unable to set rtc to %ld: %s\n", tv.tv_sec, strerror(errno)); + ALOGW("Unable to set rtc to %ld: %s\n", tv.tv_sec, strerror(errno)); ret = -1; } close(fd); #else if (settimeofday(&tv, NULL) != 0) { - LOGW("Unable to set clock to %d.%d: %s\n", + ALOGW("Unable to set clock to %d.%d: %s\n", (int) tv.tv_sec, (int) tv.tv_usec, strerror(errno)); ret = -1; } |