diff --git a/src/system/kernel/disk_device_manager/KPartitioningSystem.cpp b/src/system/kernel/disk_device_manager/KPartitioningSystem.cpp index 4d350d5735..eac434c545 100644 --- a/src/system/kernel/disk_device_manager/KPartitioningSystem.cpp +++ b/src/system/kernel/disk_device_manager/KPartitioningSystem.cpp @@ -325,7 +325,7 @@ KPartitioningSystem::SetType(KPartition* child, const char* type, return result; // let the module do its job - result = fModule->set_type(fd, child->Parent()->ID(), type, job); + result = fModule->set_type(fd, child->ID(), type, job); // TODO: Change hook interface! // cleanup and return