aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/alloc/bufalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/alloc/bufalloc.c b/lib/alloc/bufalloc.c
index c688ab1..264f242 100644
--- a/lib/alloc/bufalloc.c
+++ b/lib/alloc/bufalloc.c
@@ -5,6 +5,6 @@ void *
bufalloc(void *p, size_t n, size_t m)
{
if ((p = bufalloc_noterm(p, n, m)) == nullptr)
- err(__func__);
+ err("%s:", __func__);
return p;
}