summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniallo <niallo@openbsd.org>2005-12-30 16:45:35 +0000
committerniallo <niallo@openbsd.org>2005-12-30 16:45:35 +0000
commitac9641f3d76438d4aa008e47e43a5b6e4c20e50b (patch)
treeb90c80f7e6310ec547713a3cf2cc78b5f550262e
parentminor style nits; (diff)
downloadwireguard-openbsd-ac9641f3d76438d4aa008e47e43a5b6e4c20e50b.tar.xz
wireguard-openbsd-ac9641f3d76438d4aa008e47e43a5b6e4c20e50b.zip
- realloc() -> xrealloc(), was missed in the original sweep.
-rw-r--r--usr.bin/cvs/rcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c
index b4b348f5b67..377e92d34c5 100644
--- a/usr.bin/cvs/rcs.c
+++ b/usr.bin/cvs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.118 2005/12/28 18:27:24 joris Exp $ */
+/* $OpenBSD: rcs.c,v 1.119 2005/12/30 16:45:35 niallo Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -2549,7 +2549,7 @@ rcs_growbuf(RCSFILE *rf)
void *tmp;
struct rcs_pdata *pdp = (struct rcs_pdata *)rf->rf_pdata;
- tmp = realloc(pdp->rp_buf, pdp->rp_blen + RCS_BUFEXTSIZE);
+ tmp = xrealloc(pdp->rp_buf, pdp->rp_blen + RCS_BUFEXTSIZE);
if (tmp == NULL) {
rcs_errno = RCS_ERR_ERRNO;
cvs_log(LP_ERRNO, "failed to grow RCS parse buffer");