Skip to content

Commit

Permalink
fix error comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillan committed Dec 21, 2023
1 parent 7fa3e96 commit 47bc490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker/src/DepLibUring.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ DepLibUring::LibUring::LibUring()

if (err < 0)
{
if (err == ENOMEM)
if (err == -ENOMEM)
{
this->zeroCopyEnabled = false;

Expand Down

0 comments on commit 47bc490

Please sign in to comment.