Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/boot/xxboot Fix a thinko or two i made a few da...
details: https://anonhg.NetBSD.org/src/rev/39d84d15a831
branches: trunk
changeset: 499026:39d84d15a831
user: matt <matt%NetBSD.org@localhost>
date: Thu Nov 09 01:54:20 2000 +0000
description:
Fix a thinko or two i made a few days ago. I could have sworn i compiled
this. :)
diffstat:
sys/arch/vax/boot/xxboot/bootxx.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 479438198ce2 -r 39d84d15a831 sys/arch/vax/boot/xxboot/bootxx.c
--- a/sys/arch/vax/boot/xxboot/bootxx.c Thu Nov 09 01:52:55 2000 +0000
+++ b/sys/arch/vax/boot/xxboot/bootxx.c Thu Nov 09 01:54:20 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bootxx.c,v 1.13 2000/11/03 00:30:34 simonb Exp $ */
+/* $NetBSD: bootxx.c,v 1.14 2000/11/09 01:54:20 matt Exp $ */
/*-
* Copyright (c) 1982, 1986 The Regents of the University of California.
* All rights reserved.
@@ -279,10 +279,10 @@
int block = dblk;
int nsize = size;
- if (romlabel.d_magic == DISKLABEL && romlabel.d_magic2 == DISKLABEL) {
+ if (romlabel.d_magic == DISKMAGIC && romlabel.d_magic2 == DISKMAGIC) {
if (romlabel.d_npartitions > 1) {
block += romlabel.d_partitions[0].p_offset;
- if (romlabel.d_partitions[0].p_type == FS_RAID) {
+ if (romlabel.d_partitions[0].p_fstype == FS_RAID) {
block += RF_PROTECTED_SECTORS;
}
}
Home |
Main Index |
Thread Index |
Old Index