commit | c32afdf913f082235b1e66f5a57678c7f0723129 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Tue Apr 14 13:07:29 2015 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Tue Apr 14 13:07:29 2015 -0700 |
tree | 15d2bc5a5e2eb7c26df536149b053a47212b0454 | |
parent | e83d8a6900ee53942e5939656c3b6ae177d1f1d2 [diff] [blame] |
logd: pidToUid incorrect Change-Id: I9b0e655780924db125568179771e57b01e80aaae
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 @@ 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; }