Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Jan 1, 2024
1 parent 027bc37 commit ecb9b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xtd.core.native.unix/src/xtd/native/unix/drive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ std::vector<std::string> drive::get_drives() {
}

bool drive::get_volume_information(const std::string& root_path_name, std::string& volume_name, std::string& file_system_name) {
struct statvfs stat;
if (statvfs(root_path_name.c_str(), &stat) != 0)
struct statfs stat;
if (statfs(root_path_name.c_str(), &stat) != 0)
return false;

volume_name = root_path_name;
Expand Down

0 comments on commit ecb9b01

Please sign in to comment.