mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8341135: Incorrect format string after JDK-8339475
Reviewed-by: shade, clanger, alanb
This commit is contained in:
parent
efe3573b9b
commit
c8c4ff2035
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue