summaryrefslogtreecommitdiffstats
path: root/test/twriteorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/twriteorder.c')
-rw-r--r--test/twriteorder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/twriteorder.c b/test/twriteorder.c
index 165abcf..dd608c7 100644
--- a/test/twriteorder.c
+++ b/test/twriteorder.c
@@ -379,7 +379,7 @@ main(int argc, char *argv[])
if (launch_g == UC_READWRITE) {
/* fork process */
- if ((childpid = HDfork()) < 0) {
+ if ((childpid = fork()) < 0) {
HDperror("fork");
Hgoto_error(1);
};
@@ -417,7 +417,7 @@ main(int argc, char *argv[])
/* If readwrite, collect exit code of child process */
/* ================================================ */
if (launch_g == 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);
}