summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2024-05-31 14:25:22 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2024-06-03 10:09:04 +0000
commita688679f9ff2ecea224d9664499984aa984ea8ee (patch)
treed09449ac7089c0adbc033f77ab303a1e61f29aa2
parent89eeacffd742607074da73fc5a8b267d2e6f3d0f (diff)
Move the log to a warning to avoid failures on risc-v emulator.
Test: test.py Change-Id: I5dd5fc98802c648280a4b35012d8ac7f02196b41
-rw-r--r--runtime/thread_pool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/thread_pool.cc b/runtime/thread_pool.cc
index a7c2cd1286..80fd3587ae 100644
--- a/runtime/thread_pool.cc
+++ b/runtime/thread_pool.cc
@@ -93,7 +93,7 @@ static void SetPriorityForTid(pid_t tid, int priority) {
int result = setpriority(PRIO_PROCESS, tid, priority);
if (result != 0) {
#if defined(ART_TARGET_ANDROID)
- PLOG(ERROR) << "Failed to setpriority to :" << priority;
+ PLOG(WARNING) << "Failed to setpriority to :" << priority;
#endif
// Setpriority may fail on host due to ulimit issues.
}