Avoided displaying in non-verbose mode information which is not computed
The summary of 'runcount.runs' and 'runcount.fragments' was displayed in non-verbose mode. However these variables are not updated in non-verbose mode, so they would always be 0. We now only display this summary in verbose mode.edge.strict_endians
parent
aebfcf3d27
commit
2e2550026e
|
@ -2302,8 +2302,10 @@ static void ntfs_dump_file_attributes(ntfs_inode *inode)
|
|||
"enumerating attributes");
|
||||
} else {
|
||||
printf("End of inode reached\n");
|
||||
printf("Total runs: %lu (fragments: %lu)\n",
|
||||
runcount.runs, runcount.fragments);
|
||||
if (opts.verbose) {
|
||||
printf("Total runs: %lu (fragments: %lu)\n",
|
||||
runcount.runs, runcount.fragments);
|
||||
}
|
||||
}
|
||||
|
||||
/* close all data-structures we used */
|
||||
|
|
Loading…
Reference in New Issue