more consistency in fatal messages.

This commit is contained in:
Joris Vink 2016-02-13 15:45:33 +01:00
parent 8fcf4762f4
commit 318647945f
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ kore_calloc(size_t memb, size_t len)
if (memb == 0 || len == 0)
fatal("kore_calloc(): zero size");
if (SIZE_MAX / memb < len)
fatal("kore_calloc: memb * len > SIZE_MAX");
fatal("kore_calloc(): memb * len > SIZE_MAX");
return (kore_malloc(memb * len));
}