DriveSetup: improved error reporting.

This commit is contained in:
Axel Dörfler 2013-01-28 22:41:20 +01:00
parent 5ec5667de7
commit 403869b9fe

@ -1066,7 +1066,7 @@ MainWindow::_Create(BDiskDevice* disk, partition_id selectedPartition)
if (ret != B_OK) {
_DisplayPartitionError(B_TRANSLATE("Creation of the partition has "
"failed."));
"failed."), NULL, ret);
return;
}
@ -1075,7 +1075,7 @@ MainWindow::_Create(BDiskDevice* disk, partition_id selectedPartition)
if (ret != B_OK) {
_DisplayPartitionError(B_TRANSLATE("Failed to format the "
"partition. No changes have been written to disk."));
"partition. No changes have been written to disk."), NULL, ret);
return;
}