From 8e12a6aed3d99ac8c140cd56b560f5efeb1c4e1a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 15 Sep 2010 14:48:59 +0200 Subject: util: use waitid() instead of waitpid() everywhere to avoid confusion due to SIGSTOP --- src/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 4bea1ecc04..bdd4f15cf2 100644 --- a/src/util.h +++ b/src/util.h @@ -345,7 +345,7 @@ int touch(const char *path); char *unquote(const char *s, const char quote); -int waitpid_loop(pid_t pid, int *status); +int wait_for_terminate(pid_t pid, siginfo_t *status); #define NULSTR_FOREACH(i, l) \ for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1) -- cgit v1.2.3-54-g00ecf