Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/hp300/hp300 Pull up revision 1.11 (requested b...
details: https://anonhg.NetBSD.org/src/rev/8d544a6a5980
branches: netbsd-1-5
changeset: 491246:8d544a6a5980
user: he <he%NetBSD.org@localhost>
date: Fri Apr 20 16:59:56 2001 +0000
description:
Pull up revision 1.11 (requested by he):
Correctly set d_npartitions in in-core disklabel to RAW_PART+1.
diffstat:
sys/arch/hp300/hp300/disksubr.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 92218e8e26f7 -r 8d544a6a5980 sys/arch/hp300/hp300/disksubr.c
--- a/sys/arch/hp300/hp300/disksubr.c Fri Apr 20 12:44:14 2001 +0000
+++ b/sys/arch/hp300/hp300/disksubr.c Fri Apr 20 16:59:56 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disksubr.c,v 1.9 1997/04/01 03:12:13 scottr Exp $ */
+/* $NetBSD: disksubr.c,v 1.9.32.1 2001/04/20 16:59:56 he Exp $ */
/*
* Copyright (c) 1982, 1986, 1988, 1993
@@ -68,7 +68,7 @@
if (lp->d_secperunit == 0)
lp->d_secperunit = 0x1fffffff;
- lp->d_npartitions = 1;
+ lp->d_npartitions = RAW_PART + 1;
if (lp->d_partitions[0].p_size == 0)
lp->d_partitions[0].p_size = 0x1fffffff;
lp->d_partitions[0].p_offset = 0;
Home |
Main Index |
Thread Index |
Old Index