From 1c83623ca7a9c5f9b5a95cfb675ff70bd65627b1 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 10 Feb 2004 19:33:32 +0000 Subject: [PATCH] Don't use bzero This commit was SVN r692. --- src/lam/mem/mem_pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lam/mem/mem_pool.c b/src/lam/mem/mem_pool.c index d2b05ae2ff..3596f01978 100644 --- a/src/lam/mem/mem_pool.c +++ b/src/lam/mem/mem_pool.c @@ -346,7 +346,7 @@ int lam_fmp_construct_with(lam_fixed_mpool_t *pool, ssize_t initial_allocation, "pool->fmp_segments, requested %ld bytes, errno %d", sizeof(int) * n_pools, errno); } - bzero(pool->fmp_segments, sizeof(lam_memseg_t *)*n_pools); + memset(pool->fmp_segments, 0, sizeof(lam_memseg_t *)*n_pools); pool->fmp_n_segs_in_array = malloc(sizeof(int) * n_pools); if ( !pool->fmp_n_segs_in_array ) {