From c652e17dc922f98dd69c8e12c38752bf5491bd30 Mon Sep 17 00:00:00 2001 From: Niall O'Higgins Date: Fri, 30 Dec 2005 16:45:36 +0000 Subject: - realloc() -> xrealloc(), was missed in the original sweep. --- usr.bin/cvs/rcs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/cvs') 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 * 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"); -- cgit v1.2.3