Merge "Update fmtlib to 10.1.1" into main am: 6c7dca816f am: 52ec54ddff am: d165e2fdf2

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2814593

Change-Id: Idcd213bec5a03035f56e87f0398732d4133bd62b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2023-11-05 05:32:31 +00:00 committed by Automerger Merge Worker
commit 7769988c57

View file

@ -179,8 +179,9 @@ Result<void> ServiceParser::ParsePriority(std::vector<std::string>&& args) {
if (!ParseInt(args[1], &service_->proc_attr_.priority,
static_cast<int>(ANDROID_PRIORITY_HIGHEST), // highest is negative
static_cast<int>(ANDROID_PRIORITY_LOWEST))) {
return Errorf("process priority value must be range {} - {}", ANDROID_PRIORITY_HIGHEST,
ANDROID_PRIORITY_LOWEST);
return Errorf("process priority value must be range {} - {}",
static_cast<int>(ANDROID_PRIORITY_HIGHEST),
static_cast<int>(ANDROID_PRIORITY_LOWEST));
}
return {};
}