]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
installer: Fix showing selected disks
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Aug 2014 09:20:57 +0000 (11:20 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 Aug 2014 09:20:57 +0000 (11:20 +0200)
src/installer/main.c

index 313b35180baf9d887d846168dd84264842bc5e7a..bb73fc24c04519a8b76ab8c8746be2853f7db093 100644 (file)
@@ -451,7 +451,7 @@ int main(int argc, char *argv[]) {
                } else if (num_selected_disks == 2) {
                        snprintf(message, sizeof(message),
                                _("The installation program will now set up a RAID configuration on the selected harddisks:\n\n  %s\n  %s\n\n"
-                               "Do you agree to continue?"), (*selected_disks)->description, (*selected_disks + 1)->description);
+                               "Do you agree to continue?"), selected_disks[0]->description, selected_disks[1]->description);
                        rc = newtWinOkCancel(_("RAID Setup"), message, 50, 14,
                                _("Delete all data"), _("Cancel"));