summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteadfasterX <steadfasterX@gmail.com>2018-04-25 15:56:18 +0200
committerBruno Martins <bgcngm@gmail.com>2018-12-29 11:44:42 +0100
commitc2cd15616f2cd365c07da03849f3acad8fbfef3d (patch)
treefae2f23f088163079af1d7e7bdd5272afd112f6f
parent6a3fc11bcc95d1abebb60e5d714adf75ece83102 (diff)
downloadandroid_vendor_qcom_opensource_cryptfs_hw-c2cd15616f2cd365c07da03849f3acad8fbfef3d.tar.gz
android_vendor_qcom_opensource_cryptfs_hw-c2cd15616f2cd365c07da03849f3acad8fbfef3d.tar.bz2
android_vendor_qcom_opensource_cryptfs_hw-c2cd15616f2cd365c07da03849f3acad8fbfef3d.zip
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
-rw-r--r--cryptfs_hw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cryptfs_hw.c b/cryptfs_hw.c
index 65618df..68638a3 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>