aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-07-14 21:45:37 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-14 21:45:37 +0000
commitd40208981bc4efcea4ce47bc07fda7b86d6de212 (patch)
treebe527eb0e7d16c14a94f9a84908ae9958d05d895
parent24b8620956366b0b3c9b0056eaad7da89fab5fd6 (diff)
parent63dd56d8144ef34564cbb707c2c32151cb425017 (diff)
downloadplatform_libnativehelper-d40208981bc4efcea4ce47bc07fda7b86d6de212.tar.gz
platform_libnativehelper-d40208981bc4efcea4ce47bc07fda7b86d6de212.tar.bz2
platform_libnativehelper-d40208981bc4efcea4ce47bc07fda7b86d6de212.zip
Merge "Fix an issue where a pointer was used instead of a char*" am: 84e576a16b am: 63dd56d814
Original change: https://android-review.googlesource.com/c/platform/libnativehelper/+/1361506 Change-Id: I1745f702cd42aa201adeacd91f1eb7b10b2d0768
-rw-r--r--JniInvocation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/JniInvocation.c b/JniInvocation.c
index bace941..222ec6a 100644
--- a/JniInvocation.c
+++ b/JniInvocation.c
@@ -161,7 +161,7 @@ bool JniInvocationInit(struct JniInvocationImpl* instance, const char* library_n
library_name = kDefaultJniInvocationLibrary;
library = DlOpenLibrary(library_name);
if (library == NULL) {
- ALOGE("Failed to dlopen %s: %s", library, DlGetError());
+ ALOGE("Failed to dlopen %s: %s", library_name, DlGetError());
return false;
}
}