summaryrefslogtreecommitdiffstats
path: root/test/use_append_chunk_mirror.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-28 14:08:44 (GMT)
committerGitHub <noreply@github.com>2023-07-28 14:08:44 (GMT)
commit9ef2f993cfc7173712729fb40b34d1edae8509d9 (patch)
tree937a98f4d50cf0cca08fa105ae37589aedb8975c /test/use_append_chunk_mirror.c
parentf563c2b926445f7a975553bc7742a38f42d3b6f4 (diff)
downloadhdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.zip
hdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.tar.gz
hdf5-9ef2f993cfc7173712729fb40b34d1edae8509d9.tar.bz2
Sync test dir w/ develop (#3303)
Diffstat (limited to 'test/use_append_chunk_mirror.c')
-rw-r--r--test/use_append_chunk_mirror.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/use_append_chunk_mirror.c b/test/use_append_chunk_mirror.c
index 80ba2aa..0620c68 100644
--- a/test/use_append_chunk_mirror.c
+++ b/test/use_append_chunk_mirror.c
@@ -258,7 +258,7 @@ main(int argc, char *argv[])
/* Fork process */
/* ============ */
if (UC_opts.launch == UC_READWRITE) {
- if ((childpid = HDfork()) < 0) {
+ if ((childpid = fork()) < 0) {
HDperror("fork");
Hgoto_error(1);
}
@@ -353,7 +353,7 @@ main(int argc, char *argv[])
/* If readwrite, collect exit code of child process */
/* ================================================ */
if (UC_opts.launch == UC_READWRITE) {
- if ((tmppid = HDwaitpid(childpid, &child_status, child_wait_option)) < 0) {
+ if ((tmppid = waitpid(childpid, &child_status, child_wait_option)) < 0) {
HDperror("waitpid");
Hgoto_error(1);
}