summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 302e03459..e88f64a16 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -725,8 +725,9 @@ dll_crt0_1 (char *)
malloc_init ();
#ifdef CGF
int i = 0;
- while (i)
- cmalloc (HEAP_STR, 2000000);
+ const int n = 2 * 1024 * 1024;
+ while (i--)
+ small_printf ("cmalloc returns %p\n", cmalloc (HEAP_STR, n));
#endif
/* Initialize SIGSEGV handling, etc. */