From 47bc490b32b567197d66b0a1f05dd71908c0014d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Mill=C3=A1n?= Date: Thu, 21 Dec 2023 11:45:12 +0100 Subject: [PATCH] fix error comparison --- worker/src/DepLibUring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;