It turns out unregister has the same bug. I'll send a v2. -Jeff Jeff Moyer <jmoyer@xxxxxxxxxx> writes: > The documentation for the 'arg' parameter is incorrect. Fix it. > > Signed-off-by: Jeff Moyer <jmoyer@xxxxxxxxxx> > > diff --git a/man/io_uring_register.2 b/man/io_uring_register.2 > index fbfae2a..09823bd 100644 > --- a/man/io_uring_register.2 > +++ b/man/io_uring_register.2 > @@ -528,8 +528,8 @@ of the ring file descriptor itself. This reduces the overhead of the > system call. > > .I arg > -must be set to an unsigned int pointer to an array of type > -.I struct io_uring_rsrc_register > +must be set to a pointer to an array of type > +.I struct io_uring_rsrc_update > of > .I nr_args > number of entries. The