printf not linebreak fix
This commit is contained in:
1 parent
a61c0ce9c7
commit
13c83b234c
2 files changed
+3
-3
No files matched your search
@@ -23,7 +23,7 @@ Minecraft: Java Edition launcher for iOS, based on [PojavLauncher Android](https
|
||||
## Installing OpenJDK 16
|
||||
- Download [openjdk-16-jre • Procursus](https://www.ios-repo-updates.com/repository/procursus/package/openjdk-16-jre) .deb file (~40mb).
|
||||
|
||||
### For jailbroken iOS device (without Procursus)
|
||||
### For jailbroken iOS device, install manually or add Procursus repo.
|
||||
- ssh to iOS or use a terminal, type these commands
|
||||
```
|
||||
# Grant root access
|
||||
|
||||
@@ -82,9 +82,9 @@ JNIEXPORT jboolean JNICALL Java_net_kdt_pojavlaunch_utils_JREUtils_dlopen(JNIEnv
|
||||
const char *nameUtf = (*env)->GetStringUTFChars(env, name, 0);
|
||||
void* handle = dlopen(nameUtf, RTLD_GLOBAL | RTLD_LAZY);
|
||||
if (!handle) {
|
||||
printf("dlopen %s failed: %s", nameUtf, dlerror());
|
||||
printf("dlopen %s failed: %s\n", nameUtf, dlerror());
|
||||
} else {
|
||||
printf("dlopen %s success", nameUtf);
|
||||
printf("dlopen %s success\n", nameUtf);
|
||||
}
|
||||
(*env)->ReleaseStringUTFChars(env, name, nameUtf);
|
||||
return handle != NULL;
|
||||
|
||||
Reference in new issue
Block a user