From 403869b9fe4c2b40f24e69033a8936d265840fcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 28 Jan 2013 22:41:20 +0100 Subject: [PATCH] DriveSetup: improved error reporting. --- src/apps/drivesetup/MainWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/drivesetup/MainWindow.cpp b/src/apps/drivesetup/MainWindow.cpp index e0cc9ff8be..e6ebcc07e7 100644 --- a/src/apps/drivesetup/MainWindow.cpp +++ b/src/apps/drivesetup/MainWindow.cpp @@ -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; }