* collect2.c (xrealloc): fix typo in last change.

From-SVN: r25079
This commit is contained in:
Graham Stott 1999-02-08 03:31:34 -08:00 committed by Richard Henderson
parent acd663ee8d
commit ea0d7e8b63
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Mon Feb 8 11:34:44 1999 Graham <grahams@rcp.co.uk>
* collect2.c (xrealloc): fix typo in last change.
Mon Feb 8 09:13:38 PST 1999 Jeff Law (law@cygnus.com)
* version.c: Bump for snapshot.

View file

@ -553,7 +553,7 @@ xrealloc (old, size)
size_t size;
{
register PTR ptr;
if (ptr)
if (old)
ptr = (PTR) realloc (old, size);
else
ptr = (PTR) malloc (size);