Commit bd649ceb authored by Andrei Vagin's avatar Andrei Vagin Committed by Pavel Emelyanov

zdtm/pstree: read from a correct file descriptor

Signed-off-by: 's avatarAndrew Vagin <avagin@virtuozzo.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 09d00c41
......@@ -50,7 +50,7 @@ int main(int argc, char **argv)
close(fp[0]);
close(rp[1]);
read(sp[1], &x, 1);
read(sp[0], &x, 1);
test_daemon();
test_waitsig();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment