diff options
author | Mark Salyzyn <salyzyn@google.com> | 2015-03-12 12:25:35 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2015-03-12 20:38:53 +0000 |
commit | ccbadc6be015553357a4c50de48dea46cb1adcba (patch) | |
tree | 7ae919d1a1a46afbfccf5b87ce14f50c2087a85b /logd/LogAudit.cpp | |
parent | 48d06069a8a6be3a968694dad65ce4c11b7bef22 (diff) | |
download | system_core-ccbadc6be015553357a4c50de48dea46cb1adcba.zip system_core-ccbadc6be015553357a4c50de48dea46cb1adcba.tar.gz system_core-ccbadc6be015553357a4c50de48dea46cb1adcba.tar.bz2 |
logd: report reinit
Bug: 19681572
Change-Id: I343b9d108f064f87df79512a0fdf1b35513c3136
Diffstat (limited to 'logd/LogAudit.cpp')
-rw-r--r-- | logd/LogAudit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/logd/LogAudit.cpp b/logd/LogAudit.cpp index af0b775..6b3e637 100644 --- a/logd/LogAudit.cpp +++ b/logd/LogAudit.cpp @@ -29,10 +29,10 @@ #include "libaudit.h" #include "LogAudit.h" -#define KMSG_PRIORITY(PRI) \ - '<', \ - '0' + (LOG_AUTH | (PRI)) / 10, \ - '0' + (LOG_AUTH | (PRI)) % 10, \ +#define KMSG_PRIORITY(PRI) \ + '<', \ + '0' + LOG_MAKEPRI(LOG_AUTH, LOG_PRI(PRI)) / 10, \ + '0' + LOG_MAKEPRI(LOG_AUTH, LOG_PRI(PRI)) % 10, \ '>' LogAudit::LogAudit(LogBuffer *buf, LogReader *reader, int fdDmesg) |