summaryrefslogtreecommitdiffstats
path: root/gcc/java/jcf-io.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/jcf-io.c')
-rw-r--r--gcc/java/jcf-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jcf-io.c b/gcc/java/jcf-io.c
index db192082881..03ea7d75acf 100644
--- a/gcc/java/jcf-io.c
+++ b/gcc/java/jcf-io.c
@@ -319,7 +319,7 @@ DEFUN(find_class, (classname, classname_length, jcf, source_ok),
null pointer when we're copying it below. */
int buflen = jcf_path_max_len () + classname_length + 10;
char *buffer = (char *) ALLOC (buflen);
- bzero (buffer, buflen);
+ memset (buffer, 0, buflen);
java_buffer = (char *) alloca (buflen);
OpenPOWER on IntegriCloud