aboutsummaryrefslogtreecommitdiffstats
path: root/colorize.c
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2014-10-26 18:33:22 +0100
committerGravatar Steven Schubiger <stsc@refcnt.org> 2014-10-26 18:33:22 +0100
commit4fdbee8e6c6763368b779788cb2644304eba2f77 (patch)
treec283eba464bba31b730d5fb29670a85156b33ea4 /colorize.c
parentf1bd09fc21e607b7d3fea1a8db57b8115d849c13 (diff)
downloadcolorize-4fdbee8e6c6763368b779788cb2644304eba2f77.tar.gz
colorize-4fdbee8e6c6763368b779788cb2644304eba2f77.tar.bz2
Make diagnostics more consistent
Diffstat (limited to 'colorize.c')
-rw-r--r--colorize.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/colorize.c b/colorize.c
index cf0c047..c316f17 100644
--- a/colorize.c
+++ b/colorize.c
@@ -1007,7 +1007,7 @@ malloc_wrap_debug (size_t size, const char *file, unsigned int line)
void *p = malloc (size);
if (!p)
MEM_ALLOC_FAIL_DEBUG (file, line);
- vfprintf_diag ("malloc'ed %lu bytes [file %s, line %u]", (unsigned long)size, file, line);
+ vfprintf_diag ("malloc'ed %lu bytes [source file %s, line %u]", (unsigned long)size, file, line);
return p;
}
@@ -1017,7 +1017,7 @@ calloc_wrap_debug (size_t nmemb, size_t size, const char *file, unsigned int lin
void *p = calloc (nmemb, size);
if (!p)
MEM_ALLOC_FAIL_DEBUG (file, line);
- vfprintf_diag ("calloc'ed %lu bytes [file %s, line %u]", (unsigned long)(nmemb * size), file, line);
+ vfprintf_diag ("calloc'ed %lu bytes [source file %s, line %u]", (unsigned long)(nmemb * size), file, line);
return p;
}
@@ -1027,7 +1027,7 @@ realloc_wrap_debug (void *ptr, size_t size, const char *file, unsigned int line)
void *p = realloc (ptr, size);
if (!p)
MEM_ALLOC_FAIL_DEBUG (file, line);
- vfprintf_diag ("realloc'ed %lu bytes [file %s, line %u]", (unsigned long)size, file, line);
+ vfprintf_diag ("realloc'ed %lu bytes [source file %s, line %u]", (unsigned long)size, file, line);
return p;
}
#endif /* !DEBUG */