diff --git a/tools/src/dwarfsck_main.cpp b/tools/src/dwarfsck_main.cpp index 2082c371..d88f4198 100644 --- a/tools/src/dwarfsck_main.cpp +++ b/tools/src/dwarfsck_main.cpp @@ -288,6 +288,7 @@ int dwarfsck_main(int argc, sys_char** argv, iolayer const& iol) { reader::filesystem_options fsopts; + // This is needed to report a correct original file system size. fsopts.metadata.enable_nlink = true; fsopts.metadata.check_consistency = check_integrity; fsopts.image_offset = reader::parse_image_offset(image_offset);