diff options
Diffstat (limited to 'src/core/test_core_api_start_only.c')
-rw-r--r-- | src/core/test_core_api_start_only.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/test_core_api_start_only.c b/src/core/test_core_api_start_only.c index 5c24c339c..c3ea85593 100644 --- a/src/core/test_core_api_start_only.c +++ b/src/core/test_core_api_start_only.c | |||
@@ -202,7 +202,7 @@ stop_arm (struct PeerContext *p) | |||
202 | #if START_ARM | 202 | #if START_ARM |
203 | if (0 != PLIBC_KILL (p->arm_pid, SIGTERM)) | 203 | if (0 != PLIBC_KILL (p->arm_pid, SIGTERM)) |
204 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); | 204 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); |
205 | if (p->arm_pid != waitpid (p->arm_pid, NULL, 0)) | 205 | if (GNUNET_OS_process_wait(p->arm_pid) != GNUNET_OK) |
206 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 206 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |
207 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 207 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
208 | "ARM process %u stopped\n", p->arm_pid); | 208 | "ARM process %u stopped\n", p->arm_pid); |