DriveSetup: improved error reporting.
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user