Update jre_launcher.c

This commit is contained in:
Duy Tran Khanh authored and GitHub committed 2020-12-29 20:44:47 +07:00
1 parent f889719d99
commit 5bd129e501
1 file changed
+2 -2
+2 -2
View File
@@ -73,7 +73,7 @@ static jint launchJVM(int margc, char** margv) {
fprintf(logFile, "JLI lib = NULL: %s\n", dlerror());
return -1;
}
fprintf(logFile, Found JLI lib\n");
fprintf(logFile, "Found JLI lib\n");
JLI_Launch_func *pJLI_Launch =
(JLI_Launch_func *)dlsym(libjli, "JLI_Launch");
@@ -82,7 +82,7 @@ static jint launchJVM(int margc, char** margv) {
if (NULL == pJLI_Launch) {
fprintf(logFile, "JLI_Launch = NULL\n");
return -1;
return -2;
}
fprintf(logFile, "Calling JLI_Launch\n");