diff options
| author | Mark Salyzyn <salyzyn@google.com> | 2015-04-14 20:13:38 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-14 20:13:38 +0000 |
| commit | 35d09b6928d77d619d95d87f6fe16eaedc99a954 (patch) | |
| tree | 15d2bc5a5e2eb7c26df536149b053a47212b0454 | |
| parent | e83d8a6900ee53942e5939656c3b6ae177d1f1d2 (diff) | |
| parent | c32afdf913f082235b1e66f5a57678c7f0723129 (diff) | |
Merge "logd: pidToUid incorrect"
| -rw-r--r-- | logd/LogStatistics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/LogStatistics.cpp b/logd/LogStatistics.cpp index 40fbfae338..77e388fef9 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; } |
