Small simplification.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26644 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2008-07-26 19:02:37 +00:00
parent 9de19e0d0e
commit 316bce45fe
+1 -1
View File
@@ -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;