diff options
Diffstat (limited to 'src/H5EAstat.c')
-rw-r--r-- | src/H5EAstat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5EAstat.c b/src/H5EAstat.c index 33a8d4b..8a26e34 100644 --- a/src/H5EAstat.c +++ b/src/H5EAstat.c @@ -100,7 +100,7 @@ H5EA_get_stats(const H5EA_t *ea, H5EA_stat_t *stats)) /* Local variables */ #ifdef QAK -HDfprintf(stderr, "%s: Called\n", __func__); +HDfprintf(stderr, "%s: Called\n", FUNC); #endif /* QAK */ /* @@ -109,8 +109,8 @@ HDfprintf(stderr, "%s: Called\n", __func__); HDassert(ea); HDassert(stats); - /* Placeholder value */ - HDmemset(stats, 0, sizeof(*stats)); + /* Copy extensible array statistics */ + HDmemcpy(stats, &ea->hdr->stats, sizeof(ea->hdr->stats)); END_FUNC(PRIV) /* end H5EA_get_stats() */ |