Commit the partition modifications (uninitialize, resize). Lo and behold, the correct jobs are created and executed. They just need to be implemented completely. :-P

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4795 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2003-09-22 21:51:12 +00:00
parent c3cfd913b7
commit 5f6d915707
@@ -621,11 +621,17 @@ main()
device.VisitEachDescendant(&visitor);
}
// cancel modifications
if (error == B_OK) {
/* if (error == B_OK) {
error = device.CancelModifications();
if (error != B_OK)
printf("Cancelling modifications failed: %s\n", strerror(error));
}
*/ // cancel modifications
if (error == B_OK) {
error = device.CommitModifications();
if (error != B_OK)
printf("Committing modifications failed: %s\n", strerror(error));
}
printf("\nDevice after cancelling the changes:\n");
device.VisitEachDescendant(&visitor);