[partition] Expand debugging output

The partition path isn't set yet, so is probably 'empty'. Try logging the device, too.
main
Adriaan de Groot 4 years ago
parent 252a88cb7f
commit 01911beccc

@ -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;
}

Loading…
Cancel
Save