summaryrefslogtreecommitdiffstats
path: root/usr.bin/ranlib
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-03-07 08:59:53 +0000
committerphk <phk@FreeBSD.org>1996-03-07 08:59:53 +0000
commit5e8c0593bf302e42584131a2deb2dec6879441a1 (patch)
tree5b8811d98b2c43c60d78e807d7136a2c719f370d /usr.bin/ranlib
parent680a50eeddeaa322385a4ca9e88b43f731366fc7 (diff)
downloadFreeBSD-src-5e8c0593bf302e42584131a2deb2dec6879441a1.zip
FreeBSD-src-5e8c0593bf302e42584131a2deb2dec6879441a1.tar.gz
Phkmalloc strikes again.
Found by: asami
Diffstat (limited to 'usr.bin/ranlib')
-rw-r--r--usr.bin/ranlib/build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ranlib/build.c b/usr.bin/ranlib/build.c
index 03839f2..0951f2e 100644
--- a/usr.bin/ranlib/build.c
+++ b/usr.bin/ranlib/build.c
@@ -127,7 +127,7 @@ rexec(rfd, wfd)
register RLIB *rp;
register long nsyms;
register int nr, symlen;
- register char *strtab, *sym;
+ register char *strtab = 0, *sym;
struct exec ebuf;
struct nlist nl;
off_t r_off, w_off;
OpenPOWER on IntegriCloud