From 30e9df7074a2f97d035ec08396a576194fca834a Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 16 Apr 2025 11:45:48 -0500 Subject: [PATCH] fs_find_mount_point.cpp --- src/fs_find_mount_point.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fs_find_mount_point.cpp b/src/fs_find_mount_point.cpp index 8d65d471..2d62f38f 100644 --- a/src/fs_find_mount_point.cpp +++ b/src/fs_find_mount_point.cpp @@ -20,7 +20,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_) rv = fs::lstat(can_path,&initial_st); if(rv == -1) - return std::error_code(errno,std::system_category().default_error_condition(errno)); + return std::error_code(errno); tmp_path = can_path; while(tmp_path != tmp_path.root_path())