[partition] Expand debugging output

The partition path isn't set yet, so is probably 'empty'. Try logging the device, too.
This commit is contained in:
Adriaan de Groot 2021-05-25 14:16:28 +02:00
parent 252a88cb7f
commit 01911beccc

View File

@ -420,7 +420,8 @@ shouldWarnForGPTOnBIOS( const PartitionCoreModule* core )
&& ( partition->fileSystem().type() == FileSystem::Unformatted )
&& ( partition->capacity() >= 8_MiB ) )
{
cDebug() << Logger::SubEntry << "Partition" << partition->partitionPath()
cDebug() << Logger::SubEntry << "Partition" << partition->devicePath()
<< partition->partitionPath()
<< "is a suitable bios_grub partition";
return false;
}