mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[USETUP]
- Christoph von Wittich: Add a debug print, and improve an existing one. svn path=/trunk/; revision=48766
This commit is contained in:
@@ -1406,6 +1406,9 @@ IsDiskSizeValid(PPARTENTRY PartEntry)
|
||||
/* check for unpartitioned space */
|
||||
m = PartEntry->UnpartitionedLength;
|
||||
m = (m + (1 << 19)) >> 20; /* in MBytes (rounded) */
|
||||
|
||||
DPRINT1("Unpartitioned space is %lu MB\n", m);
|
||||
|
||||
if( m > RequiredPartitionDiskSpace)
|
||||
{
|
||||
return TRUE;
|
||||
@@ -1417,7 +1420,7 @@ IsDiskSizeValid(PPARTENTRY PartEntry)
|
||||
if (m < RequiredPartitionDiskSpace)
|
||||
{
|
||||
/* partition is too small so ask for another partion */
|
||||
DPRINT1("Partition is too small, required disk space is %lu MB\n", RequiredPartitionDiskSpace);
|
||||
DPRINT1("Partition is too small (%lu MB), required disk space is %lu MB\n", m, RequiredPartitionDiskSpace);
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user