On x86_64, dosfsck incorrectly claims that a free_cluster summary of
0xFFFFFFFF, defined by Microsoft to be "uninitialized," is wrong. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
This commit is contained in:
parent
62f806a292
commit
1cae726e2d
@ -525,7 +525,7 @@ unsigned long update_free(DOS_FS *fs)
|
||||
|
||||
if (verbose)
|
||||
printf("Checking free cluster summary.\n");
|
||||
if (fs->free_clusters >= 0) {
|
||||
if (fs->free_clusters != 0xFFFFFFFF) {
|
||||
if (free != fs->free_clusters) {
|
||||
printf( "Free cluster summary wrong (%ld vs. really %ld)\n",
|
||||
fs->free_clusters,free);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user