Long lines

This commit is contained in:
Brian Anderson 2012-12-15 19:54:48 -08:00
parent 81805e0568
commit 91067e9df4
1 changed files with 8 additions and 2 deletions

View File

@ -88,7 +88,10 @@ memory_region::realloc(void *mem, size_t orig_size) {
size_t size = orig_size + HEADER_SIZE;
alloc_header *newMem = (alloc_header *)::realloc(alloc, size);
if (newMem == NULL) {
fprintf(stderr, "memory_region::realloc> Out of memory allocating %ld bytes", size);
fprintf(stderr,
"memory_region::realloc> "
"Out of memory allocating %ld bytes",
size);
abort();
}
@ -123,7 +126,10 @@ memory_region::malloc(size_t size, const char *tag, bool zero) {
size += HEADER_SIZE;
alloc_header *mem = (alloc_header *)::malloc(size);
if (mem == NULL) {
fprintf(stderr, "memory_region::malloc> Out of memory allocating %ld bytes", size);
fprintf(stderr,
"memory_region::malloc> "
"Out of memory allocating %ld bytes",
size);
abort();
}