Skip to content

Commit

Permalink
man/io_uring_prep_cancel.3: correct io_uring_prep_cancel_fd() flags
Browse files Browse the repository at this point in the history
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: #1297
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
axboe committed Dec 7, 2024
1 parent 19cfc58 commit c3d5d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/io_uring_prep_cancel.3
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3d5d62

Please sign in to comment.