diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2019-01-11 01:51:42 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2019-01-11 01:51:42 (GMT) |
commit | 536a32c59be69f9ae75604a31d0ec34c57cf9f00 (patch) | |
tree | 605e0c0272cce05f9b8b8ed1799c384c9894ed0e /src/H5Dfarray.c | |
parent | a7e0ef996a63b87cc0295b58f37f037c848a6929 (diff) | |
download | hdf5-536a32c59be69f9ae75604a31d0ec34c57cf9f00.zip hdf5-536a32c59be69f9ae75604a31d0ec34c57cf9f00.tar.gz hdf5-536a32c59be69f9ae75604a31d0ec34c57cf9f00.tar.bz2 |
C and POSIX call cleanup
Diffstat (limited to 'src/H5Dfarray.c')
-rw-r--r-- | src/H5Dfarray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dfarray.c b/src/H5Dfarray.c index 372ae26..2d85e3b 100644 --- a/src/H5Dfarray.c +++ b/src/H5Dfarray.c @@ -434,7 +434,7 @@ H5D__farray_debug(FILE *stream, int indent, int fwidth, hsize_t idx, HDassert(elmt); /* Print element */ - sprintf(temp_str, "Element #%llu:", (unsigned long long)idx); + HDsprintf(temp_str, "Element #%llu:", (unsigned long long)idx); HDfprintf(stream, "%*s%-*s %a\n", indent, "", fwidth, temp_str, *(const haddr_t *)elmt); @@ -699,7 +699,7 @@ H5D__farray_filt_debug(FILE *stream, int indent, int fwidth, hsize_t idx, HDassert(elmt); /* Print element */ - sprintf(temp_str, "Element #%llu:", (unsigned long long)idx); + HDsprintf(temp_str, "Element #%llu:", (unsigned long long)idx); HDfprintf(stream, "%*s%-*s {%a, %u, %0x}\n", indent, "", fwidth, temp_str, elmt->addr, elmt->nbytes, elmt->filter_mask); |