diff options
author | Quincey Koziol <koziol@koziol.gov> | 2019-08-21 20:36:17 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@koziol.gov> | 2019-08-21 20:36:17 (GMT) |
commit | 5d6f27b32be6919ab64046bd8ff27c69d84a2c17 (patch) | |
tree | 3774e701d57114cafa7bc4ab400e0fdb054472e6 /test/swmr_common.c | |
parent | 0b85fa6004cb96d222329614fa446b98cfcc06ea (diff) | |
parent | f0272e4945f047f17043b484db594df131222f1e (diff) | |
download | hdf5-5d6f27b32be6919ab64046bd8ff27c69d84a2c17.zip hdf5-5d6f27b32be6919ab64046bd8ff27c69d84a2c17.tar.gz hdf5-5d6f27b32be6919ab64046bd8ff27c69d84a2c17.tar.bz2 |
Merge branch 'develop' into shared_file_ptr
Diffstat (limited to 'test/swmr_common.c')
-rw-r--r-- | test/swmr_common.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/swmr_common.c b/test/swmr_common.c index a0d79e3..b323769 100644 --- a/test/swmr_common.c +++ b/test/swmr_common.c @@ -73,7 +73,7 @@ unsigned symbol_count[NLEVELS] = {100, 200, 400, 800, 1600}; /* Array of dataset information entries (1 per dataset) */ symbol_info_t *symbol_info[NLEVELS]; - + /*------------------------------------------------------------------------- * Function: choose_dataset * @@ -101,7 +101,7 @@ choose_dataset(void) return &symbol_info[level][offset]; } /* end choose_dataset() */ - + /*------------------------------------------------------------------------- * Function: create_symbol_datatype * @@ -142,7 +142,7 @@ create_symbol_datatype(void) return sym_type_id; } /* end create_symbol_datatype() */ - + /*------------------------------------------------------------------------- * Function: generate_name * @@ -161,7 +161,7 @@ create_symbol_datatype(void) * The dataset's count * * Return: Success: 0 - * + * * Failure: Can't fail * *------------------------------------------------------------------------- @@ -170,13 +170,13 @@ int generate_name(char *name_buf, unsigned level, unsigned count) { HDassert(name_buf); - - sprintf(name_buf, "%u-%04u", level, count); + + HDsprintf(name_buf, "%u-%04u", level, count); return 0; } /* end generate_name() */ - + /*------------------------------------------------------------------------- * Function: generate_symbols * @@ -210,7 +210,7 @@ generate_symbols(void) return 0; } /* end generate_symbols() */ - + /*------------------------------------------------------------------------- * Function: shutdown_symbols * @@ -238,7 +238,7 @@ shutdown_symbols(void) return 0; } /* end shutdown_symbols() */ - + /*------------------------------------------------------------------------- * Function: print_metadata_retries_info * @@ -273,7 +273,7 @@ print_metadata_retries_info(hid_t fid) power = 1; for(j = 0; j < info.nbins; j++) { if(info.retries[i][j]) - HDfprintf(stderr, "\t# of retries for %u - %u retries: %u\n", + HDfprintf(stderr, "\t# of retries for %u - %u retries: %u\n", power, (power * 10) - 1, info.retries[i][j]); power *= 10; } /* end for */ |