From c3d5d6270cd5ed48d817fc1e8e95f7c8b222f2ff Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Sat, 7 Dec 2024 13:35:56 -0700 Subject: [PATCH] man/io_uring_prep_cancel.3: correct io_uring_prep_cancel_fd() flags For some reason this cancel variant takes an unsigned int - which is arguably the correct type, but the others take just an int for the flags. In any case, correct the man page to make it consistent with the source code. Closes: https://github.com/axboe/liburing/issues/1297 Signed-off-by: Jens Axboe --- man/io_uring_prep_cancel.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/io_uring_prep_cancel.3 b/man/io_uring_prep_cancel.3 index cc8a74370..75d4fb55d 100644 --- a/man/io_uring_prep_cancel.3 +++ b/man/io_uring_prep_cancel.3 @@ -19,7 +19,7 @@ io_uring_prep_cancel \- prepare a cancelation request .PP .BI "void io_uring_prep_cancel_fd(struct io_uring_sqe *" sqe "," .BI " int " fd "," -.BI " int " flags ");" +.BI " unsigned int " flags ");" .fi .SH DESCRIPTION .PP