Skip to content

Commit

Permalink
Better message [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Nov 27, 2023
1 parent 4164f8d commit 472756d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/native/org/apache/commons/crypto/DynamicLoader.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 472756d

Please sign in to comment.