Mercurial > hg > shark > hotspot
changeset 1524:45a71ef8ea8a
6888954 broke Zero
author | Gary Benson <gbenson@redhat.com> |
---|---|
date | Wed, 12 May 2010 16:28:12 +0100 |
parents | 4ffb747abee2 |
children | f6e1bbd7e1bb |
files | src/os_cpu/linux_zero/vm/os_linux_zero.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os_cpu/linux_zero/vm/os_linux_zero.cpp Wed May 12 16:04:51 2010 +0100 +++ b/src/os_cpu/linux_zero/vm/os_linux_zero.cpp Wed May 12 16:28:12 2010 +0100 @@ -288,7 +288,7 @@ vm_exit_out_of_memory(0, "pthread_getattr_np"); } else { - fatal1("pthread_getattr_np failed with errno = %d", res); + fatal(err_msg("pthread_getattr_np failed with errno = %d", res)); } } @@ -296,7 +296,7 @@ size_t stack_bytes; res = pthread_attr_getstack(&attr, (void **) &stack_bottom, &stack_bytes); if (res != 0) { - fatal1("pthread_attr_getstack failed with errno = %d", res); + fatal(err_msg("pthread_attr_getstack failed with errno = %d", res)); } address stack_top = stack_bottom + stack_bytes; @@ -308,7 +308,7 @@ size_t guard_bytes; res = pthread_attr_getguardsize(&attr, &guard_bytes); if (res != 0) { - fatal1("pthread_attr_getguardsize failed with errno = %d", res); + fatal(err_msg("pthread_attr_getguardsize failed with errno = %d", res)); } int guard_pages = align_size_up(guard_bytes, page_bytes) / page_bytes; assert(guard_bytes == guard_pages * page_bytes, "unaligned guard");