diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mirror_vfd/mirror_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/mirror_vfd/mirror_server.c b/utils/mirror_vfd/mirror_server.c index bef743b..03c72a4 100644 --- a/utils/mirror_vfd/mirror_server.c +++ b/utils/mirror_vfd/mirror_server.c @@ -432,7 +432,7 @@ error: static void wait_for_child(int H5_ATTR_UNUSED sig) { - while (HDwaitpid(-1, NULL, WNOHANG) > 0) + while (waitpid(-1, NULL, WNOHANG) > 0) ; } /* end wait_for_child() */ @@ -554,7 +554,7 @@ handle_requests(struct server_run *run) mirror_log(run->loginfo, V_INFO, "probable OPEN xmit confirmed"); - pid = HDfork(); + pid = fork(); if (pid < 0) { /* fork error */ mirror_log(run->loginfo, V_ERR, "cannot fork"); goto error; |