aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/test_statistics_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/statistics/test_statistics_api.c')
-rw-r--r--src/statistics/test_statistics_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/statistics/test_statistics_api.c b/src/statistics/test_statistics_api.c
index 7a39f54b6..b9f81d652 100644
--- a/src/statistics/test_statistics_api.c
+++ b/src/statistics/test_statistics_api.c
@@ -141,7 +141,7 @@ check ()
141 GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); 141 GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill");
142 ok = 1; 142 ok = 1;
143 } 143 }
144 waitpid (pid, NULL, 0); 144 GNUNET_OS_process_wait(pid);
145 if (ok != 0) 145 if (ok != 0)
146 return ok; 146 return ok;
147 ok = 1; 147 ok = 1;
@@ -160,7 +160,7 @@ check ()
160 GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); 160 GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill");
161 ok = 1; 161 ok = 1;
162 } 162 }
163 waitpid (pid, NULL, 0); 163 GNUNET_OS_process_wait(pid);
164 return ok; 164 return ok;
165} 165}
166 166