summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteadfasterX <steadfasterX@gmail.com>2018-04-25 13:56:18 (GMT)
committerMichael Bestas <mkbestas@lineageos.org>2019-09-15 17:57:41 (GMT)
commitd8abf7b57f9f17bd1a60b98ab0481478f73238ca (patch)
treeca286d2050b93609219ee756c4c682ace5366efe
parent3e981dfe842f7725daad3ce8115358516a133bca (diff)
downloadandroid_vendor_qcom_opensource_cryptfs_hw-d8abf7b57f9f17bd1a60b98ab0481478f73238ca.zip
android_vendor_qcom_opensource_cryptfs_hw-d8abf7b57f9f17bd1a60b98ab0481478f73238ca.tar.gz
android_vendor_qcom_opensource_cryptfs_hw-d8abf7b57f9f17bd1a60b98ab0481478f73238ca.tar.bz2
cryptfs_hw: add missing logging tagrefs/changes/93/258193/2
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
-rw-r--r--cryptfs_hw.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cryptfs_hw.cpp b/cryptfs_hw.cpp
index 8f94493..4cf29b1 100644
--- a/cryptfs_hw.cpp
+++ b/cryptfs_hw.cpp
@@ -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/types.h>