Fix LOG_TAG and typo.
Bug: 65547607
Test: builds
Change-Id: I106f3fc8d03362b6e13e9ffcdf2faaa7bcd16d4a
diff --git a/AccessControl.cpp b/AccessControl.cpp
index 82761e1..abcb569 100644
--- a/AccessControl.cpp
+++ b/AccessControl.cpp
@@ -1,3 +1,5 @@
+#define LOG_TAG "hwservicemanager"
+
#include <android-base/logging.h>
#include <hidl-util/FQName.h>
#include <log/log.h>
@@ -67,7 +69,7 @@
struct audit_data ad;
if (getpidcon(sourcePid, &sourceContext) < 0) {
- ALOGE("SELinux: failed to retrieved process context for pid %d", sourcePid);
+ ALOGE("SELinux: failed to retrieve process context for pid %d", sourcePid);
return false;
}