diff --git a/src/basic/errno-util.h b/src/basic/errno-util.h index 5609820b88..3f2d0af56d 100644 --- a/src/basic/errno-util.h +++ b/src/basic/errno-util.h @@ -33,7 +33,7 @@ static inline int negative_errno(void) { static inline const char *strerror_safe(int error) { /* 'safe' here does NOT mean thread safety. */ - return strerror(abs(error)); + return strerror(abs(error)); /* lgtm [cpp/potentially-dangerous-function] */ } static inline int errno_or_else(int fallback) {