diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-05-13 14:15:29 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-05-13 14:15:29 (GMT) |
commit | 2c78a1930b11ef10aa92d3cdeb8486d2ede1b33b (patch) | |
tree | 6b1c378151b84b05308e183e5ebd72d8cf489d73 /test/twriteorder.c | |
parent | 5ba81f88a3d4c1b6228d2647cbef434c813aef5b (diff) | |
download | hdf5-2c78a1930b11ef10aa92d3cdeb8486d2ede1b33b.zip hdf5-2c78a1930b11ef10aa92d3cdeb8486d2ede1b33b.tar.gz hdf5-2c78a1930b11ef10aa92d3cdeb8486d2ede1b33b.tar.bz2 |
Whitespace updates
Diffstat (limited to 'test/twriteorder.c')
-rw-r--r-- | test/twriteorder.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/twriteorder.c b/test/twriteorder.c index b104b72..04f3bc5 100644 --- a/test/twriteorder.c +++ b/test/twriteorder.c @@ -187,7 +187,7 @@ parse_option(int argc, char * const argv[]) /* verify partition size must be >= blocksize */ if (part_size_g < blocksize_g ){ HDfprintf(stderr, "Blocksize %d should not be bigger than partition size %d\n", blocksize_g, part_size_g); - Hgoto_error(-1); + Hgoto_error(-1); } done: @@ -228,7 +228,7 @@ int setup_parameters(int argc, char * const argv[]) int create_wo_file(void) { int blkaddr = 0; /* blkaddress of next linked block */ - h5_posix_io_ret_t bytes_wrote = -1; /* # of bytes written */ + h5_posix_io_ret_t bytes_wrote = -1; /* # of bytes written */ /* Create the data file */ if ((write_fd_g = HDopen(DATAFILE, O_RDWR|O_TRUNC|O_CREAT, H5_POSIX_CREATE_MODE_RW)) < 0) { @@ -252,8 +252,8 @@ int write_wo_file(void) int blkaddr_old=0; int i; char buffer[BLOCKSIZE_DFT]; - h5_posix_io_ret_t bytes_wrote = -1; /* # of bytes written */ - + h5_posix_io_ret_t bytes_wrote = -1; /* # of bytes written */ + /* write block 1, 2, ... */ for (i = 1; i < nlinkedblock_g; i++) { @@ -345,7 +345,7 @@ int read_wo_file(void) } -/* Overall Algorithm: +/* Overall Algorithm: * Parse options from user; * Generate/pre-created the test file needed and close it; * fork: child processes become the reader processes; @@ -447,7 +447,7 @@ main(int argc, char *argv[]) Hgoto_error(2); } } - + done: /* Print result and exit */ if (ret_value != 0){ |