Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
23986d74
Commit
23986d74
authored
Jul 10, 2020
by
longpanda
Browse files
add debug log in Ventoy2Disk.exe
parent
039e6840
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
INSTALL/Ventoy2Disk.exe
INSTALL/Ventoy2Disk.exe
+0
-0
Ventoy2Disk/Ventoy2Disk/PhyDrive.c
Ventoy2Disk/Ventoy2Disk/PhyDrive.c
+8
-0
No files found.
INSTALL/Ventoy2Disk.exe
View file @
23986d74
No preview for this file type
Ventoy2Disk/Ventoy2Disk/PhyDrive.c
View file @
23986d74
...
...
@@ -818,13 +818,21 @@ int GetVentoyVerInPhyDrive(const PHY_DRIVE_INFO *pDriveInfo, UINT64 Part2StartSe
if
(
0
==
fl_attach_media
(
VentoyFatDiskRead
,
NULL
))
{
Log
(
"attach media success..."
);
rc
=
GetVentoyVersionFromFatFile
(
VerBuf
,
BufLen
);
}
else
{
Log
(
"attach media failed..."
);
rc
=
1
;
}
Log
(
"GetVentoyVerInPhyDrive rc=%d..."
,
rc
);
if
(
rc
==
0
)
{
Log
(
"VentoyVerInPhyDrive %d is <%s>..."
,
pDriveInfo
->
PhyDrive
,
VerBuf
);
}
fl_shutdown
();
CHECK_CLOSE_HANDLE
(
hDrive
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment