diff --git a/src/add-ons/kernel/file_systems/packagefs/nodes/UnpackingLeafNode.cpp b/src/add-ons/kernel/file_systems/packagefs/nodes/UnpackingLeafNode.cpp index fc7781a19a..eb2ad11cd0 100644 --- a/src/add-ons/kernel/file_systems/packagefs/nodes/UnpackingLeafNode.cpp +++ b/src/add-ons/kernel/file_systems/packagefs/nodes/UnpackingLeafNode.cpp @@ -188,7 +188,7 @@ UnpackingLeafNode::WillBeFirstPackageNode(PackageNode* packageNode) const PackageLeafNode* headNode = fPackageNodes.Head(); return headNode == NULL - || packageLeafNode->ModifiedTime() > headNode->ModifiedTime(); + || packageLeafNode->HasPrecedenceOver(headNode); } void