git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modules/InitRD - Fixed files.lst format
[tpg/acess2.git]
/
KernelLand
/
Modules
/
Filesystems
/
FAT
/
fat.c
diff --git
a/KernelLand/Modules/Filesystems/FAT/fat.c
b/KernelLand/Modules/Filesystems/FAT/fat.c
index
c930497
..
be0a51c
100644
(file)
--- a/
KernelLand/Modules/Filesystems/FAT/fat.c
+++ b/
KernelLand/Modules/Filesystems/FAT/fat.c
@@
-98,7
+98,11
@@
int FAT_Detect(int FD)
\r
if(bs.bps == 0 || bs.spc == 0)
\r
return 0;
\r
-
\r
+
\r
+ Log_Debug("FAT", "_Detect: Media type = %02x", bs.mediaDesc);
\r
+ if( bs.mediaDesc < 0xF0 )
\r
+ return 0;
\r
+
\r
return 1;
\r
}
\r
/**
\r
UCC
git Repository :: git.ucc.asn.au