Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/distrib/utils/sysinst/arch/i386 pullup 1.30->1.31 (fvdl...



details:   https://anonhg.NetBSD.org/src/rev/5eefd7b4d45c
branches:  netbsd-1-4
changeset: 469208:5eefd7b4d45c
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Jul 12 19:37:52 1999 +0000

description:
pullup 1.30->1.31 (fvdl): fix upgrade core dump

diffstat:

 distrib/utils/sysinst/arch/i386/md.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r edfa994e98cf -r 5eefd7b4d45c distrib/utils/sysinst/arch/i386/md.c
--- a/distrib/utils/sysinst/arch/i386/md.c      Mon Jul 12 19:36:50 1999 +0000
+++ b/distrib/utils/sysinst/arch/i386/md.c      Mon Jul 12 19:37:52 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.21.2.3 1999/06/24 22:46:17 cgd Exp $ */
+/*     $NetBSD: md.c,v 1.21.2.4 1999/07/12 19:37:52 perry Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -163,7 +163,7 @@
        msg_display(MSG_dofdisk);
 
        /* write edited MBR onto disk. */
-       if (write_mbr(diskdev, mbr, sizeof mbr) != 0) {
+       if (write_mbr(diskdev, mbr, sizeof mbr, 1) != 0) {
                msg_display(MSG_wmbrfail);
                process_menu(MENU_ok);
                return 1;
@@ -458,7 +458,7 @@
 
        if (netbsdpart == -1 && oldbsdcount == 1) {
                mbrp[oldbsdpart].mbrp_typ = MBR_PTYPE_NETBSD;
-               write_mbr(diskdev, mbr, sizeof mbr);
+               write_mbr(diskdev, mbr, sizeof mbr, 0);
        }
 }
 



Home | Main Index | Thread Index | Old Index