From 8068adb1bf4184f5f4ad97bd399eef20beba8f75 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sun, 3 Aug 2025 14:36:59 -0500 Subject: [PATCH] fix --- support/src/utils/unix.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/support/src/utils/unix.cpp b/support/src/utils/unix.cpp index 038019f8..2ac459bf 100644 --- a/support/src/utils/unix.cpp +++ b/support/src/utils/unix.cpp @@ -23,7 +23,7 @@ #include "utils/unix.hpp" #include "utils/collection.hpp" -#include "utils/error_utils.hpp" +#include "utils/utils.hpp" namespace { [[nodiscard]] auto get_group_list(auto *pass) -> std::vector { @@ -39,7 +39,7 @@ namespace { while (true) { auto group_count{static_cast(groups.size())}; if (group_count > max_group_count) { - repertory::utils::error::raise_error( + repertory::utils::error::handle_error( function_name, "getgrouplist failed: too many groups"); break; } @@ -50,7 +50,7 @@ namespace { }; if (res < 0) { if (orig_count == 0U) { - repertory::utils::error::raise_error( + repertory::utils::error::handle_error( function_name, fmt::format("failed to get group list|error|{}", errno)); } @@ -92,7 +92,7 @@ namespace repertory::utils { auto convert_to_uint64(const pthread_t &thread) -> std::uint64_t { return static_cast(thread); } -#endif // defined(__APPLE__) +#endif // !defined(__APPLE__) auto get_last_error_code() -> int { return errno; }