summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/liburing.h10
-rw-r--r--src/liburing.map2
-rw-r--r--src/queue.c10
3 files changed, 11 insertions, 11 deletions
diff --git a/src/include/liburing.h b/src/include/liburing.h
index fe8bfbe..99f4f37 100644
--- a/src/include/liburing.h
+++ b/src/include/liburing.h
@@ -122,11 +122,11 @@ int io_uring_wait_cqe_timeout(struct io_uring *ring,
struct __kernel_timespec *ts);
int io_uring_submit(struct io_uring *ring);
int io_uring_submit_and_wait(struct io_uring *ring, unsigned wait_nr);
-int io_uring_submit_and_wait_timout(struct io_uring *ring,
- struct io_uring_cqe **cqe_ptr,
- unsigned wait_nr,
- struct __kernel_timespec *ts,
- sigset_t *sigmask);
+int io_uring_submit_and_wait_timeout(struct io_uring *ring,
+ struct io_uring_cqe **cqe_ptr,
+ unsigned wait_nr,
+ struct __kernel_timespec *ts,
+ sigset_t *sigmask);
struct io_uring_sqe *io_uring_get_sqe(struct io_uring *ring);
int io_uring_register_buffers(struct io_uring *ring, const struct iovec *iovecs,
diff --git a/src/liburing.map b/src/liburing.map
index 09f4275..7f1eeb7 100644
--- a/src/liburing.map
+++ b/src/liburing.map
@@ -47,5 +47,5 @@ LIBURING_2.1 {
LIBURING_2.2 {
global:
- io_uring_submit_and_wait_timout;
+ io_uring_submit_and_wait_timeout;
} LIBURING_2.1;
diff --git a/src/queue.c b/src/queue.c
index b985056..9af29d5 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -313,11 +313,11 @@ int io_uring_wait_cqes(struct io_uring *ring, struct io_uring_cqe **cqe_ptr,
return __io_uring_get_cqe(ring, cqe_ptr, to_submit, wait_nr, sigmask);
}
-int io_uring_submit_and_wait_timout(struct io_uring *ring,
- struct io_uring_cqe **cqe_ptr,
- unsigned wait_nr,
- struct __kernel_timespec *ts,
- sigset_t *sigmask)
+int io_uring_submit_and_wait_timeout(struct io_uring *ring,
+ struct io_uring_cqe **cqe_ptr,
+ unsigned wait_nr,
+ struct __kernel_timespec *ts,
+ sigset_t *sigmask)
{
int to_submit;