Module Name:    src
Committed By:   snj
Date:           Thu May 20 05:34:34 UTC 2010

Modified Files:
        src/distrib/utils/sysinst [netbsd-5-0]: mbr.c msg.mbr.de msg.mbr.en
            msg.mbr.es msg.mbr.fr msg.mbr.pl

Log Message:
Bah, wrong branch.  Revert previous.


To generate a diff of this commit:
cvs rdiff -u -r1.79.18.1 -r1.79.18.2 src/distrib/utils/sysinst/mbr.c
cvs rdiff -u -r1.8.26.1 -r1.8.26.2 src/distrib/utils/sysinst/msg.mbr.de
cvs rdiff -u -r1.13.34.1 -r1.13.34.2 src/distrib/utils/sysinst/msg.mbr.en
cvs rdiff -u -r1.4.34.1 -r1.4.34.2 src/distrib/utils/sysinst/msg.mbr.es
cvs rdiff -u -r1.14.32.1 -r1.14.32.2 src/distrib/utils/sysinst/msg.mbr.fr
cvs rdiff -u -r1.11.32.1 -r1.11.32.2 src/distrib/utils/sysinst/msg.mbr.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/utils/sysinst/mbr.c
diff -u src/distrib/utils/sysinst/mbr.c:1.79.18.1 src/distrib/utils/sysinst/mbr.c:1.79.18.2
--- src/distrib/utils/sysinst/mbr.c:1.79.18.1	Thu May 20 05:32:45 2010
+++ src/distrib/utils/sysinst/mbr.c	Thu May 20 05:34:34 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: mbr.c,v 1.79.18.1 2010/05/20 05:32:45 snj Exp $ */
+/*	$NetBSD: mbr.c,v 1.79.18.2 2010/05/20 05:34:34 snj Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -1156,8 +1156,8 @@
 
 	msg_display(MSG_editparttable);
 
-	msg_table_add(MSG_part_header, (unsigned long)(dlsize/sizemult),
-	    multname, multname, multname, multname);
+	msg_table_add(MSG_part_header, dlsize/sizemult, multname, multname,
+	    multname, multname);
 
 	if (num_opts == 0) {
 		num_opts = 6;
@@ -1282,10 +1282,6 @@
 		return(md_mbr_use_wholedisk(mbri));
 	}
 
-	/* Default to MB, and use bios geometry for cylinder size */
-	set_sizemultname_meg();
-	current_cylsize = bhead * bsec;
-
 	mbr_menu = new_menu(NULL, NULL, 16, 0, -1, 15, 70,
 			MC_NOBOX | MC_ALWAYS_SCROLL | MC_NOCLEAR,
 			set_mbr_header, set_mbr_label, NULL,
@@ -1293,6 +1289,10 @@
 	if (mbr_menu == -1)
 		return 0;
 
+	/* Default to MB, and use bios geometry for cylinder size */
+	set_sizemultname_meg();
+	current_cylsize = bhead * bsec;
+
 	for (;;) {
 		ptstart = 0;
 		ptsize = 0;

Index: src/distrib/utils/sysinst/msg.mbr.de
diff -u src/distrib/utils/sysinst/msg.mbr.de:1.8.26.1 src/distrib/utils/sysinst/msg.mbr.de:1.8.26.2
--- src/distrib/utils/sysinst/msg.mbr.de:1.8.26.1	Thu May 20 05:32:45 2010
+++ src/distrib/utils/sysinst/msg.mbr.de	Thu May 20 05:34:34 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mbr.de,v 1.8.26.1 2010/05/20 05:32:45 snj Exp $	*/
+/*	$NetBSD: msg.mbr.de,v 1.8.26.2 2010/05/20 05:34:34 snj Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -66,7 +66,7 @@
 
 /* the %s's will expand into three character strings */
 message part_header
-{   Festplattenkapazität insgesamt %lu %s.
+{   Festplattenkapazität insgesamt %d %s.
 
 .if BOOTSEL
    Start(%3s) Größe(%3s) Flag Typ                    Bootmenü

Index: src/distrib/utils/sysinst/msg.mbr.en
diff -u src/distrib/utils/sysinst/msg.mbr.en:1.13.34.1 src/distrib/utils/sysinst/msg.mbr.en:1.13.34.2
--- src/distrib/utils/sysinst/msg.mbr.en:1.13.34.1	Thu May 20 05:32:45 2010
+++ src/distrib/utils/sysinst/msg.mbr.en	Thu May 20 05:34:34 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mbr.en,v 1.13.34.1 2010/05/20 05:32:45 snj Exp $	*/
+/*	$NetBSD: msg.mbr.en,v 1.13.34.2 2010/05/20 05:34:34 snj Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -67,7 +67,7 @@
 
 /* the %s's will expand into three character strings */
 message part_header
-{   Total disk size %lu %s.
+{   Total disk size %d %s.
 
 .if BOOTSEL
    Start(%3s)  Size(%3s) Flg Kind                    Bootmenu

Index: src/distrib/utils/sysinst/msg.mbr.es
diff -u src/distrib/utils/sysinst/msg.mbr.es:1.4.34.1 src/distrib/utils/sysinst/msg.mbr.es:1.4.34.2
--- src/distrib/utils/sysinst/msg.mbr.es:1.4.34.1	Thu May 20 05:32:45 2010
+++ src/distrib/utils/sysinst/msg.mbr.es	Thu May 20 05:34:34 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mbr.es,v 1.4.34.1 2010/05/20 05:32:45 snj Exp $	*/
+/*	$NetBSD: msg.mbr.es,v 1.4.34.2 2010/05/20 05:34:34 snj Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -66,7 +66,7 @@
 
 /* the %s's will expand into three character strings */
 message part_header
-{   Tamaño total del disco %lu %s.
+{   Tamaño total del disco %d %s.
 
 .if BOOTSEL
    Inicio(%3s) Tamaño(%3s) Opc Tipo                    Bootmenu

Index: src/distrib/utils/sysinst/msg.mbr.fr
diff -u src/distrib/utils/sysinst/msg.mbr.fr:1.14.32.1 src/distrib/utils/sysinst/msg.mbr.fr:1.14.32.2
--- src/distrib/utils/sysinst/msg.mbr.fr:1.14.32.1	Thu May 20 05:32:45 2010
+++ src/distrib/utils/sysinst/msg.mbr.fr	Thu May 20 05:34:34 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mbr.fr,v 1.14.32.1 2010/05/20 05:32:45 snj Exp $	*/
+/*	$NetBSD: msg.mbr.fr,v 1.14.32.2 2010/05/20 05:34:34 snj Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -63,7 +63,7 @@
 
 /* the %s's will expand into three character strings */
 message part_header
-{   Taille totale du disque %lu %s.
+{   Taille totale du disque %d %s.
 
 .if BOOTSEL
    Début(%3s) Taille(%3s) Flg Type                   Nom de démarrage

Index: src/distrib/utils/sysinst/msg.mbr.pl
diff -u src/distrib/utils/sysinst/msg.mbr.pl:1.11.32.1 src/distrib/utils/sysinst/msg.mbr.pl:1.11.32.2
--- src/distrib/utils/sysinst/msg.mbr.pl:1.11.32.1	Thu May 20 05:32:45 2010
+++ src/distrib/utils/sysinst/msg.mbr.pl	Thu May 20 05:34:34 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: msg.mbr.pl,v 1.11.32.1 2010/05/20 05:32:45 snj Exp $	*/
+/*	$NetBSD: msg.mbr.pl,v 1.11.32.2 2010/05/20 05:34:34 snj Exp $	*/
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -61,7 +61,7 @@
 
 /* the %s's will expand into three character strings */
 message part_header
-{   Calkowity rozmiar dysku %lu %s.
+{   Calkowity rozmiar dysku %d %s.
 
 .if BOOTSEL
     Pocz(%3s)  Rozm(%3s) Flg Rodzaj                  Wpis menu

Reply via email to