summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiran Gunda <kgunda@codeaurora.org>2021-08-25 13:06:07 +0530
committerKiran Gunda <kgunda@codeaurora.org>2021-08-25 13:06:41 +0530
commit2feeb5e8573bf1b7fc6f682ccc91bd5444ee2a1b (patch)
treef915a2349d6e79e2226dc06f44c995c7f47976b3
parenta70322200e07426bcba1361cc7bbb01174ca00c3 (diff)
Vibrator: Fix compilation issue
Fix compilation issue while printing "chname". Change-Id: I552c846fae9076f413c3cdc41142f2940cbb193e
-rw-r--r--aidl/VibratorOffload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/aidl/VibratorOffload.cpp b/aidl/VibratorOffload.cpp
index fd05ac4..e9a4616 100644
--- a/aidl/VibratorOffload.cpp
+++ b/aidl/VibratorOffload.cpp
@@ -186,7 +186,7 @@ int PatternOffload::initChannel()
rc = GlinkCh.GlinkOpen(chname);
if (rc < 0)
{
- ALOGE("Failed to open Glink channel name %s\n", chname);
+ ALOGE("Failed to open Glink channel name %s\n", chname.c_str());
return rc;
}