summaryrefslogtreecommitdiff
path: root/libfshelp/start-translator.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfshelp/start-translator.c')
-rw-r--r--libfshelp/start-translator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfshelp/start-translator.c b/libfshelp/start-translator.c
index ba5418ec..7f0ae70d 100644
--- a/libfshelp/start-translator.c
+++ b/libfshelp/start-translator.c
@@ -38,7 +38,7 @@ fshelp_start_translator (fshelp_open_fn_t underlying_open_fn,
ports[i] = MACH_PORT_NULL;
for (i = 0; i < STDERR_FILENO + 1; i++)
fds[i] = MACH_PORT_NULL;
- bzero (ints, INIT_INT_MAX * sizeof (int));
+ memset (ints, 0, INIT_INT_MAX * sizeof(int));
ports[INIT_PORT_CWDIR] = getcwdir ();
ports[INIT_PORT_CRDIR] = getcrdir ();