mirror of
https://github.com/openharmony/third_party_liburing.git
synced 2026-08-27 11:01:31 -04:00
Fix type for io_uring_prep_socket_direct()
The flags should always go last. Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
@@ -828,8 +828,8 @@ static inline void io_uring_prep_socket(struct io_uring_sqe *sqe, int domain,
|
||||
static inline void io_uring_prep_socket_direct(struct io_uring_sqe *sqe,
|
||||
int domain, int type,
|
||||
int protocol,
|
||||
unsigned int flags,
|
||||
unsigned file_index)
|
||||
unsigned file_index,
|
||||
unsigned int flags)
|
||||
{
|
||||
io_uring_prep_rw(IORING_OP_SOCKET, sqe, domain, NULL, protocol, type);
|
||||
sqe->rw_flags = flags;
|
||||
|
||||
Reference in New Issue
Block a user