diff --git a/src/fs_find_mount_point.cpp b/src/fs_find_mount_point.cpp index 3f91551b..3f73376d 100644 --- a/src/fs_find_mount_point.cpp +++ b/src/fs_find_mount_point.cpp @@ -9,7 +9,7 @@ inline std::error_code _ecerrno(void) { - return std::make_error_code(errno,std::generic_category()); + return std::error_code(errno,std::generic_category()); } fs::ecpath