We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bb4fdc commit 02d9919Copy full SHA for 02d9919
2 files changed
event/epoll.c
@@ -5,6 +5,7 @@
5
#include "hdef.h"
6
#include "hevent.h"
7
#include "hlog.h"
8
+#include "hsocket.h"
9
10
#ifdef OS_WIN
11
#include "wepoll/wepoll.h"
event/io_uring.c
@@ -23,7 +23,7 @@ int iowatcher_init(hloop_t* loop) {
23
HV_ALLOC_SIZEOF(ctx);
24
int ret = io_uring_queue_init(IO_URING_ENTRIES, &ctx->ring, 0);
25
if (ret < 0) {
26
- hloge("io_uring_queue_init failed: %d", -ret);
+ hloge("io_uring_queue_init failed: %d", ret);
27
HV_FREE(ctx);
28
return ret;
29
}
0 commit comments