Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/lib adapt to set_geometry change: we don...
details: https://anonhg.NetBSD.org/src/rev/9a39f8162525
branches: trunk
changeset: 467887:9a39f8162525
user: drochner <drochner%NetBSD.org@localhost>
date: Tue Mar 30 17:58:05 1999 +0000
description:
adapt to set_geometry change: we don't have to correct the geometry
anymore
diffstat:
sys/arch/i386/stand/lib/bootinfo_biosgeom.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 32c56a2129e6 -r 9a39f8162525 sys/arch/i386/stand/lib/bootinfo_biosgeom.c
--- a/sys/arch/i386/stand/lib/bootinfo_biosgeom.c Tue Mar 30 17:55:48 1999 +0000
+++ b/sys/arch/i386/stand/lib/bootinfo_biosgeom.c Tue Mar 30 17:58:05 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bootinfo_biosgeom.c,v 1.7 1999/03/28 19:41:27 fvdl Exp $ */
+/* $NetBSD: bootinfo_biosgeom.c,v 1.8 1999/03/30 17:58:05 drochner Exp $ */
/*
* Copyright (c) 1997
@@ -72,8 +72,8 @@
bzero(&bibg->disk[nvalid], sizeof(bibg->disk[nvalid]));
bibg->disk[nvalid].sec = d.sec;
- bibg->disk[nvalid].head = d.head + 1;
- bibg->disk[nvalid].cyl = d.cyl + 1;
+ bibg->disk[nvalid].head = d.head;
+ bibg->disk[nvalid].cyl = d.cyl;
bibg->disk[nvalid].dev = d.dev;
if (readsects(&d, 0, 1, buf, 0)) {
Home |
Main Index |
Thread Index |
Old Index