aboutsummaryrefslogtreecommitdiff
path: root/xmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmalloc.c')
-rw-r--r--xmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmalloc.c b/xmalloc.c
index 8fb78f49..16b3565a 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -28,7 +28,7 @@ xmalloc(size_t size)
void *
xcalloc(size_t nmemb, size_t size)
{
- assert(size != 0);
+ xassert(size != 0);
return check_alloc(calloc(likely(nmemb) ? nmemb : 1, size));
}