summaryrefslogtreecommitdiff
path: root/alloc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2016-07-22 19:52:34 +0300
committerIvan Maidanski <ivmai@mail.ru>2016-07-22 19:52:34 +0300
commit0d4dfd8cedcce27d3409701cf6b82c130634a1c8 (patch)
treeff7d43e439e8d3e69fdb91876911c21dd003ce39 /alloc.c
parent55d6247c7885539186a4fa423cdf064c8d04bf13 (diff)
downloadbdwgc-0d4dfd8cedcce27d3409701cf6b82c130634a1c8.tar.gz
Fix missing new-line and redundant trailing dot in WARN messages
* allchblk.c (GC_get_first_part, GC_allochblk_nth): Remove '.' before '\n' in WARN message. * os_dep.c (GC_read_dirty, GC_mprotect_thread, GC_dirty_init): Likewise. * win32_threads.c (GC_start_mark_threads_inner): Likewise. * alloc.c (GC_collect_or_expand): Remove space before '...' in WARN message. * dyn_load.c (GC_register_dynlib_callback): Add '\n' at the end of WARN message. * os_dep.c (GC_unix_mmap_get_mem, GC_unix_mmap_get_mem): Likewise.
Diffstat (limited to 'alloc.c')
-rw-r--r--alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alloc.c b/alloc.c
index 4a2cf3c7..41e4a804 100644
--- a/alloc.c
+++ b/alloc.c
@@ -1384,7 +1384,7 @@ GC_INNER GC_bool GC_collect_or_expand(word needed_blocks,
GC_gcollect_inner();
GC_ASSERT(GC_bytes_allocd == 0);
} else if (GC_fail_count++ < GC_max_retries) {
- WARN("Out of Memory! Trying to continue ...\n", 0);
+ WARN("Out of Memory! Trying to continue...\n", 0);
GC_gcollect_inner();
} else {
# if !defined(AMIGA) || !defined(GC_AMIGA_FASTALLOC)