diff --git a/worker/src/DepLibUring.cpp b/worker/src/DepLibUring.cpp index a42b03fd16..4d2b41e4c3 100644 --- a/worker/src/DepLibUring.cpp +++ b/worker/src/DepLibUring.cpp @@ -313,7 +313,7 @@ DepLibUring::LibUring::LibUring() if (err < 0) { - if (err == ENOMEM) + if (err == -ENOMEM) { this->zeroCopyEnabled = false;