Merge "Update fmtlib to 10.1.1" into main am: 6c7dca816f am: 52ec54ddff
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2814593 Change-Id: I66dff0148d4bd926167c43735754600951ec5f77 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
d165e2fdf2
1 changed files with 3 additions and 2 deletions
|
|
@ -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 {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue