Commit 30fee64a authored by Gleb Popov's avatar Gleb Popov

Now that NULL byte is appended, fix the comparison in filesystemAdded().

parent 5776d55fcaf0
......@@ -77,7 +77,7 @@ void ObjectManager::filesystemAdded(Block* b, QString fs, const ZFSInfo* zfsInfo
{
if(storage.isValid() && storage.isReady())
{
if(!storage.device().compare(b->device()))
if(!storage.device().compare(b->device().chopped(1)))
{
bfs->mountPoints << storage.rootPath().toLocal8Bit();
break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment