aboutsummaryrefslogtreecommitdiff
path: root/lmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'lmem.c')
-rw-r--r--lmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lmem.c b/lmem.c
index 090caa9a..1ee7f23d 100644
--- a/lmem.c
+++ b/lmem.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lmem.c,v 1.80 2010/12/20 18:17:46 roberto Exp roberto $ 2** $Id: lmem.c,v 1.81 2010/12/20 19:40:07 roberto Exp roberto $
3** Interface to Memory Manager 3** Interface to Memory Manager
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -106,7 +106,7 @@ void *luaM_realloc_ (lua_State *L, void *block, size_t osize, size_t nsize) {
106 if ((total % 200) == 0) { 106 if ((total % 200) == 0) {
107 if (f == NULL) f = fopen(TRACEMEM, "w"); 107 if (f == NULL) f = fopen(TRACEMEM, "w");
108 fprintf(f, "%lu %u %d %d\n", total, 108 fprintf(f, "%lu %u %d %d\n", total,
109 g->totalbytes, g->GCdebt, g->gcstate * 1000); 109 gettotalbytes(g), g->GCdebt, g->gcstate * 10000);
110 } 110 }
111 } 111 }
112#endif 112#endif