diff options
| author | 2012-01-19 17:26:08 -0800 | |
|---|---|---|
| committer | 2012-01-19 17:26:08 -0800 | |
| commit | 29964df372b737e3785871e5c31f16d4cd33a1bd (patch) | |
| tree | 161809f0b6cb8029212c8fa18c8b0829927dfa3a /libs/utils/SystemClock.cpp | |
| parent | 381857ed67c640a6c00d5dfaa4d4cba0a11e810b (diff) | |
| parent | 86c9a50ef8d61f433c478d4ba1bd8ad017eb64c1 (diff) | |
am a826f9e2: Merge "Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)"
* commit 'a826f9e2c4f6329d8d48c927f6e942e78ffaf92f':
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF)
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 89a052fb97..8b8ac10315 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; } |