aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.c
diff options
context:
space:
mode:
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;
}