comparison src/os_cpu/linux_sparc/vm/os_linux_sparc.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 d1605aabd0a1
children c18cbe5936b8
comparison
equal deleted inserted replaced
1489:cff162798819 1490:f03d0a26bf83
151 // JVM needs to know exact stack location, abort if it fails 151 // JVM needs to know exact stack location, abort if it fails
152 if (rslt != 0) { 152 if (rslt != 0) {
153 if (rslt == ENOMEM) { 153 if (rslt == ENOMEM) {
154 vm_exit_out_of_memory(0, "pthread_getattr_np"); 154 vm_exit_out_of_memory(0, "pthread_getattr_np");
155 } else { 155 } else {
156 fatal1("pthread_getattr_np failed with errno = %d", rslt); 156 fatal(err_msg("pthread_getattr_np failed with errno = %d", rslt));
157 } 157 }
158 } 158 }
159 159
160 if (pthread_attr_getstack(&attr, (void**)bottom, size) != 0) { 160 if (pthread_attr_getstack(&attr, (void**)bottom, size) != 0) {
161 fatal("Can not locate current stack attributes!"); 161 fatal("Can not locate current stack attributes!");