aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-04-17 23:19:27 +0000
committerSteve Chamberlain <steve@cygnus>1991-04-17 23:19:27 +0000
commit301dfc71d4d0d371cd747d11b81ea3b002e48876 (patch)
treea95ce306d383293bfb4e76b860dce6d23e3e875b /bfd/libbfd.c
parent8ab76aa732704e27060b9ddd1645e06e8face7c6 (diff)
downloadfsf-binutils-gdb-301dfc71d4d0d371cd747d11b81ea3b002e48876.zip
fsf-binutils-gdb-301dfc71d4d0d371cd747d11b81ea3b002e48876.tar.gz
fsf-binutils-gdb-301dfc71d4d0d371cd747d11b81ea3b002e48876.tar.bz2
Stuff
Diffstat (limited to 'bfd/libbfd.c')
-rw-r--r--bfd/libbfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/libbfd.c b/bfd/libbfd.c
index 4a6219b..7521c48 100644
--- a/bfd/libbfd.c
+++ b/bfd/libbfd.c
@@ -118,7 +118,7 @@ zalloc (size)
char *ptr = (char *) malloc (size);
if ((ptr != NULL) && (size != 0))
- bzero (ptr, size);
+ memset(ptr,0, size);
return ptr;
}