uring-sys icon indicating copy to clipboard operation
uring-sys copied to clipboard

Fix argument order in rust_io_uring_prep_splice

Open mxxo opened this issue 5 years ago • 0 comments

Hello! :) This PR switches the order of fd_out and off_in in the io_uring_prep_splice call, I think they are incorrect as is.

The signature is off_in, fd_out and I changed the rusturing.c caller to match. https://github.com/ringbahn/uring-sys/blob/05bcecc266c05b6e0f2da9a3ea143b927e3664b0/src/lib.rs#L401-L406

mxxo avatar Nov 19 '20 17:11 mxxo