aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/symorder
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1995-10-07 08:13:24 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1995-10-07 08:13:24 +0000
commit4699383a71048e8829a19e327b503336fb05657b (patch)
tree37f244f7cf4527e6b93bd3713aca8992815ddfd9 /usr.bin/symorder
parent4887ee51b2e075e22225e9881be49b30a430ff90 (diff)
downloadsrc-4699383a71048e8829a19e327b503336fb05657b.tar.gz
src-4699383a71048e8829a19e327b503336fb05657b.zip
Notes
Diffstat (limited to 'usr.bin/symorder')
-rw-r--r--usr.bin/symorder/symorder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/symorder/symorder.c b/usr.bin/symorder/symorder.c
index 8d429291be96..81ddbe728c2d 100644
--- a/usr.bin/symorder/symorder.c
+++ b/usr.bin/symorder/symorder.c
@@ -185,6 +185,7 @@ main(argc, argv)
newtab = (struct nlist *)malloc(n);
if (newtab == (struct nlist *)NULL)
error(NULL);
+ memset(newtab,0,n);
i = n / sizeof(struct nlist);
reorder(symtab, newtab, i);