diff options
author | Niall O'Higgins <niallo@cvs.openbsd.org> | 2005-12-30 16:45:36 +0000 |
---|---|---|
committer | Niall O'Higgins <niallo@cvs.openbsd.org> | 2005-12-30 16:45:36 +0000 |
commit | c652e17dc922f98dd69c8e12c38752bf5491bd30 (patch) | |
tree | fe4bc0ad1c9f19aa20a1fc2cb21eaf4c2528f120 /usr.bin/cvs/rcs.c | |
parent | 9711d6a54a5010b41ccb87223be61e5b600d8e84 (diff) |
- realloc() -> xrealloc(), was missed in the original sweep.
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-rw-r--r-- | usr.bin/cvs/rcs.c | 4 |
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"); |