mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-15 10:23:28 +00:00
8341135: Incorrect format string after JDK-8339475
Reviewed-by: shade, clanger, alanb
This commit is contained in:
parent
efe3573b9b
commit
c8c4ff2035
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user