comparison src/os_cpu/linux_x86/vm/os_linux_x86.cpp @ 1490:f03d0a26bf83

6888954: argument formatting for assert() and friends Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
author jcoomes
date Thu, 22 Apr 2010 13:23:15 -0700
parents 0fbdb4381b99
children c18cbe5936b8
comparison
equal deleted inserted replaced
1489:cff162798819 1490:f03d0a26bf83
678 // JVM needs to know exact stack location, abort if it fails 678 // JVM needs to know exact stack location, abort if it fails
679 if (rslt != 0) { 679 if (rslt != 0) {
680 if (rslt == ENOMEM) { 680 if (rslt == ENOMEM) {
681 vm_exit_out_of_memory(0, "pthread_getattr_np"); 681 vm_exit_out_of_memory(0, "pthread_getattr_np");
682 } else { 682 } else {
683 fatal1("pthread_getattr_np failed with errno = %d", rslt); 683 fatal(err_msg("pthread_getattr_np failed with errno = %d", rslt));
684 } 684 }
685 } 685 }
686 686
687 if (pthread_attr_getstack(&attr, (void **)bottom, size) != 0) { 687 if (pthread_attr_getstack(&attr, (void **)bottom, size) != 0) {
688 fatal("Can not locate current stack attributes!"); 688 fatal("Can not locate current stack attributes!");