From 5e4139a094e6e55dfa38d8ae954f0f24aa5f47c2 Mon Sep 17 00:00:00 2001 From: Weiping Zhang Date: Mon, 20 May 2019 22:35:33 +0800 Subject: fix harmless typo in sq_entries in io_uring_mmap We really should use a ';' to terminate the line. This is just a cosmetic issue, no functional changes. Signed-off-by: Weiping Zhang Modified wording Signed-off-by: Jens Axboe --- src/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/setup.c') diff --git a/src/setup.c b/src/setup.c index 9979dd0..6ed64ed 100644 --- a/src/setup.c +++ b/src/setup.c @@ -29,7 +29,7 @@ static int io_uring_mmap(int fd, struct io_uring_params *p, sq->kdropped = ptr + p->sq_off.dropped; sq->array = ptr + p->sq_off.array; - size = p->sq_entries * sizeof(struct io_uring_sqe), + size = p->sq_entries * sizeof(struct io_uring_sqe); sq->sqes = mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_POPULATE, fd, IORING_OFF_SQES); -- cgit