summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-02-08 11:34:38 -0700
committerJens Axboe <axboe@kernel.dk>2019-02-08 11:34:38 -0700
commitf171fa43abf5a938dde32125cc1a58dc1ed2273c (patch)
tree27cd999b3829cdee2d8d2b3ca2a96733e7677d7a
parent3ceb15c1327e6bb6105a0dec97421308e5567f02 (diff)
test/ring-leak: silence "sending fd" message
We assume that a silent test is good. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-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]);