diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-11-05 13:16:56 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:09:26 -0700 |
commit | e920fed3499aa1445657b62499a11348faa3b24e (patch) | |
tree | 44c482926229fc7480186c80928f4417daf24e37 /dev_d.c | |
parent | 5a73b25fd6673134328443af04afe7bde0060d72 (diff) |
[PATCH] wait() for specific pid to return from fork().
Diffstat (limited to 'dev_d.c')
-rw-r--r-- | dev_d.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -68,7 +68,7 @@ static int run_program(char *name) break; return -1; default: - wait(NULL); + waitpid(pid, NULL, 0); } return 0; |