aboutsummaryrefslogtreecommitdiff
path: root/tccpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccpp.c')
-rw-r--r--tccpp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tccpp.c b/tccpp.c
index 05c122b..c069a24 100644
--- a/tccpp.c
+++ b/tccpp.c
@@ -186,13 +186,13 @@ tail_call:
#ifdef TAL_DEBUG
if (al->nb_allocs > 0) {
uint8_t *p;
- fprintf(stderr, "TAL_DEBUG: mem leak %d chunks (limit= %d)\n",
+ fprintf(stderr, "TAL_DEBUG: memory leak %d chunk(s) (limit= %d)\n",
al->nb_allocs, al->limit);
p = al->buffer;
while (p < al->p) {
tal_header_t *header = (tal_header_t *)p;
if (header->line_num > 0) {
- fprintf(stderr, "%s:%d: chunk of %d bytes\n",
+ fprintf(stderr, "%s:%d: chunk of %d bytes leaked\n",
header->file_name, header->line_num, header->size);
}
p += header->size + sizeof(tal_header_t);