Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst/arch/hpcmips Fix typo in previous,



details:   https://anonhg.NetBSD.org/src/rev/9d5de6e715bf
branches:  trunk
changeset: 547211:9d5de6e715bf
user:      dsl <dsl%NetBSD.org@localhost>
date:      Thu May 15 08:09:51 2003 +0000

description:
Fix typo in previous,
Delete some unused variables

diffstat:

 distrib/utils/sysinst/arch/hpcmips/md.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 7ab373a5cb1b -r 9d5de6e715bf distrib/utils/sysinst/arch/hpcmips/md.c
--- a/distrib/utils/sysinst/arch/hpcmips/md.c   Thu May 15 07:42:29 2003 +0000
+++ b/distrib/utils/sysinst/arch/hpcmips/md.c   Thu May 15 08:09:51 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.21 2003/05/07 10:20:21 dsl Exp $ */
+/*     $NetBSD: md.c,v 1.22 2003/05/15 08:09:51 dsl Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -62,12 +62,9 @@
 struct nativedisk_info *nativedisk;
 struct biosdisk_info *biosdisk = NULL;
 int netbsd_mbr_installed = 0;
-int netbsd_bootsel_installed = 0;
 
 static void md_upgrade_mbrtype (void);
 
-int defbootselpart, defbootseldisk;
-
 
 /* prototypes */
 
@@ -364,7 +361,7 @@
        if (read_mbr(diskdev, &mbr, sizeof mbr) < 0)
                return;
 
-       mbrp = &mbr/mbr_parts[0];
+       mbrp = &mbr.mbr_parts[0];
 
        for (i = 0; i < NMBRPART; i++) {
                if (mbrp[i].mbrp_typ == MBR_PTYPE_386BSD) {



Home | Main Index | Thread Index | Old Index