summaryrefslogtreecommitdiffstats
path: root/logd
diff options
context:
space:
mode:
Diffstat (limited to 'logd')
-rw-r--r--logd/LogStatistics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/LogStatistics.cpp b/logd/LogStatistics.cpp
index 40fbfae..77e388f 100644
--- a/logd/LogStatistics.cpp
+++ b/logd/LogStatistics.cpp
@@ -430,7 +430,7 @@ uid_t pidToUid(pid_t pid) {
if (fp) {
while (fgets(buffer, sizeof(buffer), fp)) {
int uid;
- if (sscanf(buffer, "Groups: %d", &uid) == 1) {
+ if (sscanf(buffer, "Uid: %d", &uid) == 1) {
fclose(fp);
return uid;
}