Merge "Fix log call output format error. (DO NOT MERGE)"
This commit is contained in:
@@ -290,7 +290,7 @@ static jlong init_timerfd()
|
|||||||
|
|
||||||
epollfd = epoll_create(N_ANDROID_TIMERFDS);
|
epollfd = epoll_create(N_ANDROID_TIMERFDS);
|
||||||
if (epollfd < 0) {
|
if (epollfd < 0) {
|
||||||
ALOGV("epoll_create(%u) failed: %s", N_ANDROID_TIMERFDS,
|
ALOGV("epoll_create(%zu) failed: %s", N_ANDROID_TIMERFDS,
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1244,7 +1244,7 @@ static void nativeVibrate(JNIEnv* env,
|
|||||||
|
|
||||||
size_t patternSize = env->GetArrayLength(patternObj);
|
size_t patternSize = env->GetArrayLength(patternObj);
|
||||||
if (patternSize > MAX_VIBRATE_PATTERN_SIZE) {
|
if (patternSize > MAX_VIBRATE_PATTERN_SIZE) {
|
||||||
ALOGI("Skipped requested vibration because the pattern size is %d "
|
ALOGI("Skipped requested vibration because the pattern size is %zd "
|
||||||
"which is more than the maximum supported size of %d.",
|
"which is more than the maximum supported size of %d.",
|
||||||
patternSize, MAX_VIBRATE_PATTERN_SIZE);
|
patternSize, MAX_VIBRATE_PATTERN_SIZE);
|
||||||
return; // limit to reasonable size
|
return; // limit to reasonable size
|
||||||
|
|||||||
Reference in New Issue
Block a user