You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2023/11/27 11:31:26 UTC
(commons-crypto) branch master updated: Better message [skip ci]
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
The following commit(s) were added to refs/heads/master by this push:
new 472756d0 Better message [skip ci]
472756d0 is described below
commit 472756d0e518ac6cb892c660dab947e72dfa235f
Author: Sebb <se...@apache.org>
AuthorDate: Mon Nov 27 11:31:21 2023 +0000
Better message [skip ci]
---
src/main/native/org/apache/commons/crypto/DynamicLoader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/native/org/apache/commons/crypto/DynamicLoader.c b/src/main/native/org/apache/commons/crypto/DynamicLoader.c
index 68b731a3..7f4ec1af 100644
--- a/src/main/native/org/apache/commons/crypto/DynamicLoader.c
+++ b/src/main/native/org/apache/commons/crypto/DynamicLoader.c
@@ -45,7 +45,7 @@ HMODULE open_library(JNIEnv *env)
bool ret = dlopen_preflight(libraryPath);
if (!ret) {
char msg[1000];
- snprintf(msg, sizeof(msg), "Cannot load default library '%s'; need jni.library.path! (%s)", libraryPath, dlerror());
+ snprintf(msg, sizeof(msg), "Cannot load default library '%s'; please define jni.library.path! (%s)", libraryPath, dlerror());
THROW(env, "java/lang/UnsatisfiedLinkError", msg);
return 0;
}