Fix typo in Linux definition name.

This commit is contained in:
2021-05-11 22:00:57 +01:00
parent 056af1e1fc
commit 9c3208c266
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ endif()
if(HAVE_STATFS_TYPE)
message("-- statfs has f_type member")
add_sub_definitions(USE_STATFS_FLAGS)
add_sub_definitions(USE_STATFS_TYPE)
endif()
if(HAVE_STATFS_FLAGS)

View File

@@ -105,7 +105,7 @@ void GetVolumeInfo(const char* path, size_t* clusterSize)
#ifdef USE_STATFS_FTYPENAME
log_write("\tFilesystem: %s\n", buf.f_fstypename);
#elif defined(HAVE_STATFS_TYPE)
#elif defined(USE_STATFS_TYPE)
log_write("\tFilesystem: ");
switch(buf.f_type)
{