commit | bfb63958eaccb16d198b31c36f968060bcd0ea37 | [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 | b9996a5d2fa085ce28be22702f21b2fdf2e2db64 [diff] |
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; }