summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ring-leak.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/ring-leak.c b/test/ring-leak.c
index 5f12ac7..71fe568 100644
--- a/test/ring-leak.c
+++ b/test/ring-leak.c
@@ -95,11 +95,8 @@ int main(int argc, char *argv[])
}
pid = fork();
- if (pid) {
- printf("Sending fd %d\n", ring_fd);
-
+ if (pid)
send_fd(sp[0], ring_fd);
- }
close(ring_fd);
close(sp[0]);