commit | 661bf674ccc0b46d7871df6c334833e09920646a | [log] [tgz] |
---|---|---|
author | Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> | Tue Jul 25 00:08:56 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Jul 25 00:08:56 2023 +0000 |
tree | 01e34a247935cb5ada669cdfad3ac5898d76490a | |
parent | 4e44f4f1f89c29949825a290d680dbde14ff048e [diff] | |
parent | 6094c610adb722461d5b645930e625c57bf83784 [diff] |
Merge "libprocessgroup: UIDs in linux are unsigned" into main am: a414e2fd9b am: 6094c610ad Original change: https://android-review.googlesource.com/c/platform/system/core/+/2670104 Change-Id: Ie5ffd7da135c270a8ed437d23e3751b8ecbe1ce7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/libprocessgroup/task_profiles.cpp b/libprocessgroup/task_profiles.cpp index 44dba2a..1276a72 100644 --- a/libprocessgroup/task_profiles.cpp +++ b/libprocessgroup/task_profiles.cpp
@@ -146,7 +146,7 @@ const std::string& file_name = controller()->version() == 2 && !file_v2_name_.empty() ? file_v2_name_ : file_name_; - *path = StringPrintf("%s/uid_%d/%s", controller()->path(), uid, file_name.c_str()); + *path = StringPrintf("%s/uid_%u/%s", controller()->path(), uid, file_name.c_str()); return true; }