Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp700/hp700 Use correct disklabel offset.



details:   https://anonhg.NetBSD.org/src/rev/5831928e69e2
branches:  trunk
changeset: 567470:5831928e69e2
user:      jkunz <jkunz%NetBSD.org@localhost>
date:      Tue Jun 15 20:40:17 2004 +0000

description:
Use correct disklabel offset.

diffstat:

 sys/arch/hp700/hp700/disksubr.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r f30f050f9f8e -r 5831928e69e2 sys/arch/hp700/hp700/disksubr.c
--- a/sys/arch/hp700/hp700/disksubr.c   Tue Jun 15 19:48:27 2004 +0000
+++ b/sys/arch/hp700/hp700/disksubr.c   Tue Jun 15 20:40:17 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disksubr.c,v 1.9 2003/12/10 12:06:25 agc Exp $ */
+/*     $NetBSD: disksubr.c,v 1.10 2004/06/15 20:40:17 jkunz Exp $      */
 
 /*     $OpenBSD: disksubr.c,v 1.6 2000/10/18 21:00:34 mickey Exp $     */
 
@@ -106,7 +106,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.9 2003/12/10 12:06:25 agc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.10 2004/06/15 20:40:17 jkunz Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -668,9 +668,9 @@
                        if (p->dir_type == LIF_DIR_FS)
                                fsoff = lifstodb(p->dir_addr);
 
-               /* if no suitable lifdir entry found assume LIF_FILESTART */
+               /* if no suitable lifdir entry found assume 0 */
                if (fsoff < 0)
-                       fsoff = btodb(LIF_FILESTART);
+                       fsoff = 0;
        }
 
        if (partoffp)



Home | Main Index | Thread Index | Old Index