mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:22:57 +00:00
[FASTFAT] Don't mess my debug log when partition SysType is printed! (when invalid chars are printed)
This commit is contained in:
parent
47d539e6e0
commit
8c0c90112e
1 changed files with 8 additions and 2 deletions
|
@ -280,8 +280,14 @@ VfatHasFileSystem(
|
||||||
BootFatX->SysType[2] != 'T' ||
|
BootFatX->SysType[2] != 'T' ||
|
||||||
BootFatX->SysType[3] != 'X')
|
BootFatX->SysType[3] != 'X')
|
||||||
{
|
{
|
||||||
DPRINT1("SysType %c%c%c%c\n", BootFatX->SysType[0], BootFatX->SysType[1], BootFatX->SysType[2], BootFatX->SysType[3]);
|
DPRINT1("SysType %02X%02X%02X%02X (%c%c%c%c)\n",
|
||||||
*RecognizedFS=FALSE;
|
BootFatX->SysType[0], BootFatX->SysType[1], BootFatX->SysType[2], BootFatX->SysType[3],
|
||||||
|
isprint(BootFatX->SysType[0]) ? BootFatX->SysType[0] : '.',
|
||||||
|
isprint(BootFatX->SysType[1]) ? BootFatX->SysType[1] : '.',
|
||||||
|
isprint(BootFatX->SysType[2]) ? BootFatX->SysType[2] : '.',
|
||||||
|
isprint(BootFatX->SysType[3]) ? BootFatX->SysType[3] : '.');
|
||||||
|
|
||||||
|
*RecognizedFS = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (*RecognizedFS &&
|
if (*RecognizedFS &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue