summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan <okan@openbsd.org>2015-03-26 15:17:30 +0000
committerokan <okan@openbsd.org>2015-03-26 15:17:30 +0000
commit7bd4df19424ca6fa1dcd067bc0e2207c063c7c1c (patch)
tree8797c30e3205909e340fe12126675561aaa21f8b
parentExpand internal representation of partition starting LBA and size (diff)
downloadwireguard-openbsd-7bd4df19424ca6fa1dcd067bc0e2207c063c7c1c.tar.xz
wireguard-openbsd-7bd4df19424ca6fa1dcd067bc0e2207c063c7c1c.zip
Use the (new) function name in errx() after its rename in r1.6.
ok bcallah@
-rw-r--r--usr.bin/rcs/xmalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/xmalloc.c b/usr.bin/rcs/xmalloc.c
index b42c76e834a..0f6524ef386 100644
--- a/usr.bin/rcs/xmalloc.c
+++ b/usr.bin/rcs/xmalloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xmalloc.c,v 1.7 2015/02/05 12:59:58 millert Exp $ */
+/* $OpenBSD: xmalloc.c,v 1.8 2015/03/26 15:17:30 okan Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -60,7 +60,7 @@ xreallocarray(void *ptr, size_t nmemb, size_t size)
new_ptr = reallocarray(ptr, nmemb, size);
if (new_ptr == NULL)
- errx(1, "xrealloc: out of memory (new_size %zu bytes)",
+ errx(1, "xreallocarray: out of memory (new_size %zu bytes)",
nmemb * size);
return new_ptr;
}