From b861aa96992d84bc4f77ff0ffdefcb098913bfc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1aki=20Baz=20Castillo?= Date: Fri, 22 Dec 2023 10:55:59 +0100 Subject: [PATCH] Try to make compiled happy --- worker/src/DepLibUring.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worker/src/DepLibUring.cpp b/worker/src/DepLibUring.cpp index d3f19ca22f..6a50369225 100644 --- a/worker/src/DepLibUring.cpp +++ b/worker/src/DepLibUring.cpp @@ -313,7 +313,7 @@ DepLibUring::LibUring::LibUring() if (err < 0) { - int errno = -err; + int errno = -1 * err; if (errno == ENOMEM) { @@ -321,7 +321,7 @@ DepLibUring::LibUring::LibUring() MS_WARN_TAG( info, - "io_uring_register_buffers() failed due to low memlock limit (ulimit -l), disabling zero copy", + "io_uring_register_buffers() failed due to low memlock limit (ulimit -l), disabling zero copy: %s", std::strerror(errno)); } else