use actual mapperName, not suggestedMapperName.

This commit is contained in:
Teo Mrnjavac 2016-05-05 14:08:47 +02:00
parent 5ddd0f523b
commit beb16a77f0

View File

@ -98,7 +98,7 @@ mapForPartition( Partition* partition, const QString& uuid )
const FS::luks* luksFs = dynamic_cast< const FS::luks* >( &fsRef );
if ( luksFs )
{
map[ "luksMapperName" ] = luksFs->suggestedMapperName( partition->partitionPath() );
map[ "luksMapperName" ] = luksFs->mapperName( partition->partitionPath() );
map[ "luksUuid" ] = getLuksUuid( partition->partitionPath() );
cDebug() << "luksMapperName:" << map[ "luksMapperName" ];
}