fixed GetVolume()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23590 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4cfc1fee3e
commit
816fc92124
@ -361,7 +361,7 @@ BPartition::GetPath(BPath* path) const
|
||||
status_t
|
||||
BPartition::GetVolume(BVolume* volume) const
|
||||
{
|
||||
if (volume)
|
||||
if (!volume)
|
||||
return B_BAD_VALUE;
|
||||
|
||||
return volume->SetTo(_PartitionData()->volume);
|
||||
|
Loading…
Reference in New Issue
Block a user