summaryrefslogtreecommitdiff
path: root/allchblk.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-12-29 10:07:14 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-12-29 10:07:14 +0400
commit766f7c1d7e432953cd96eaf482c775045040dc54 (patch)
tree4ebde5020e597096557b0e951ebe9517bf9b3a86 /allchblk.c
parent4939b752ba829fa649edc82e1a710022b19e8086 (diff)
downloadbdwgc-766f7c1d7e432953cd96eaf482c775045040dc54.tar.gz
Refactoring: rename GC_PRIdPTR to WARN_PRIdPTR
* allchblk.c (GC_allochblk_nth): Rename GC_PRIdPTR to WARN_PRIdPTR. * alloc.c (GC_collect_or_expand): Likewise. * include/private/gc_priv.h (GC_PRIdPTR): Likewise. * pthread_support.c (start_mark_threads, GC_thr_init): Likewise. * GC_thr_init (GC_delete_thread): Likewise. * include/private/gc_priv.h (WARN): Add comment about argument format specifier. * include/private/gc_priv.h (GC_PRIdPTR): Remove commented out code; refine comment.
Diffstat (limited to 'allchblk.c')
-rw-r--r--allchblk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/allchblk.c b/allchblk.c
index 0abfeaa0..72faf5fe 100644
--- a/allchblk.c
+++ b/allchblk.c
@@ -731,7 +731,7 @@ GC_allochblk_nth(size_t sz, int kind, unsigned flags, int n,
if (++GC_large_alloc_warn_suppressed
>= GC_large_alloc_warn_interval) {
WARN("Repeated allocation of very large block "
- "(appr. size %" GC_PRIdPTR "):\n"
+ "(appr. size %" WARN_PRIdPTR "):\n"
"\tMay lead to memory leak and poor performance.\n",
size_needed);
GC_large_alloc_warn_suppressed = 0;