summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-06-20 08:00:06 -0600
committerJens Axboe <axboe@kernel.dk>2022-06-20 08:00:06 -0600
commitb1735ffa9c5dc5ec18c8fbc121b7b0bc417cdc89 (patch)
tree7cdd0cc8bb60d17d66e9e8ffca15cf4705a284af
parente5bc6a22d5653d2fcd5cdd5496f134084c994739 (diff)
downloadliburing-b1735ffa9c5dc5ec18c8fbc121b7b0bc417cdc89.tar.gz
liburing-b1735ffa9c5dc5ec18c8fbc121b7b0bc417cdc89.tar.bz2
test/io_uring_register: kill another expected printf()
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--test/io_uring_register.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/io_uring_register.c b/test/io_uring_register.c
index 4fb6bde..e639f05 100644
--- a/test/io_uring_register.c
+++ b/test/io_uring_register.c
@@ -244,8 +244,6 @@ static int test_memlock_exceeded(int fd)
ret = __sys_io_uring_register(fd, IORING_REGISTER_BUFFERS, &iov, 1);
if (ret < 0) {
if (errno == ENOMEM) {
- fprintf(stderr, "io_uring_register of %zu bytes failed "
- "with ENOMEM (expected).\n", iov.iov_len);
iov.iov_len /= 2;
continue;
}