cryptfs_hw: add missing logging tag
Change-Id: Iba69c6feb976cab2e466d30241f899540eff4b51
cryptfs_hw: Properly define log tag
* LOG_TAG should be defined before including log.h
vendor/qcom/opensource/cryptfs_hw/cryptfs_hw.c:45:9: warning: 'LOG_TAG'
macro redefined [-Wmacro-redefined]
^
system/core/liblog/include/log/log.h:51:9: note: previous definition is
here
Change-Id: Id6fdf6f1582360514de9140bd42feaa698527557
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
diff --git a/cryptfs_hw.c b/cryptfs_hw.c
index 6a3a5b1..2545d67 100644
--- a/cryptfs_hw.c
+++ b/cryptfs_hw.c
@@ -26,6 +26,8 @@
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#define LOG_TAG "Cryptfs_hw"
+
#include <stdlib.h>
#include <string.h>
#include <sys/limits.h>