summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fs/extfs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/extfs.cpp b/src/fs/extfs.cpp
index 671124d..29ad5b4 100644
--- a/src/fs/extfs.cpp
+++ b/src/fs/extfs.cpp
@@ -9,11 +9,11 @@ namespace
auto constexpr kPrimarySuperblockLocation = 1024;
auto constexpr kExtfsMagic = 0xef53;
- auto read_superblock(std::fstream & stream, fs::detail::extfs_superblock & superblock)
+ auto read_superblock(std::fstream & stream, fs::detail::superblock & superblock)
{
auto const originalPosition = stream.tellg();
stream.seekg(kPrimarySuperblockLocation);
- stream.read(reinterpret_cast<char *>(&superblock), sizeof(fs::detail::extfs_superblock));
+ stream.read(reinterpret_cast<char *>(&superblock), sizeof(fs::detail::superblock));
stream.seekg(originalPosition);
}
}