* Wrapper around malloc_message() that avoids the need for * je_malloc_message(...) throughout the code. */
| 80 | * je_malloc_message(...) throughout the code. |
| 81 | */ |
| 82 | void |
| 83 | malloc_write(const char *s) { |
| 84 | if (je_malloc_message != NULL) { |
| 85 | je_malloc_message(NULL, s); |
| 86 | } else { |
| 87 | wrtmessage(NULL, s); |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | /* |
| 92 | * glibc provides a non-standard strerror_r() when _GNU_SOURCE is defined, so |
no test coverage detected