Skip to content

Commit

Permalink
JDK-8341135
Browse files Browse the repository at this point in the history
  • Loading branch information
MBaesken committed Oct 1, 2024
1 parent 9bd4785 commit 1d649c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java.base/macosx/native/libjli/java_md_macosx.m
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,12 @@ static void MacOSXStartup(int argc, char *argv[]) {
pthread_t main_thr;
rc = pthread_create(&main_thr, NULL, &apple_main, &args);
if (rc != 0) {
JLI_ReportErrorMessageSys("Could not create main thread, return code: %s\n", rc);
JLI_ReportErrorMessageSys("Could not create main thread, return code:%d\n", rc);
exit(1);
}
rc = pthread_detach(main_thr);
if (rc != 0) {
JLI_ReportErrorMessage("pthread_detach() failed, return code: %s\n", rc);
JLI_ReportErrorMessage("pthread_detach() failed, return code:%d\n", rc);
exit(1);
}

Expand Down

0 comments on commit 1d649c8

Please sign in to comment.