Skip to content

Commit

Permalink
Fix on typo
Browse files Browse the repository at this point in the history
Signed-off-by: Coldwings <coldwings@me.com>
  • Loading branch information
Coldwings committed Jan 19, 2024
1 parent bfc4076 commit 7ecf8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/aio-wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ namespace photon

std::unique_ptr<libaio_ctx_t> ctx(new libaio_ctx_t);
ctx->evfd = eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC);
libaio_ctx->iodepth = iodepth > IODEPTH_MAX ? IODEPTH_MAX : iodepth;
ctx->iodepth = iodepth > IODEPTH_MAX ? IODEPTH_MAX : iodepth;
if (ctx->evfd < 0)
LOG_ERRNO_RETURN(0, -1, "failed to create eventfd");

Expand Down

0 comments on commit 7ecf8a6

Please sign in to comment.