Small simplification.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26644 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1379,7 +1379,7 @@ BPartition::_Update(user_partition_data* data, bool* updated)
|
||||
if (!child)
|
||||
return B_NO_MEMORY;
|
||||
|
||||
error = child->_SetTo(fDevice, this, data->children[i]);
|
||||
error = child->_SetTo(fDevice, this, childData);
|
||||
if (error != B_OK) {
|
||||
delete child;
|
||||
return error;
|
||||
|
||||
Reference in New Issue
Block a user