summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-01-14 11:03:10 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-01-14 11:03:10 +0000
commita92f920da54ba2dd5a65336ab6a4337141a5823d (patch)
tree832f5b6598a2e4946657d18901b8c32ca93407a9
parent16302a245c8cb115603e897c978d5145da03033d (diff)
put the disklabel in after the lif header, like hp300
-rw-r--r--sys/arch/hppa/hppa/disksubr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/disksubr.c b/sys/arch/hppa/hppa/disksubr.c
index 512f917816a..04144f172da 100644
--- a/sys/arch/hppa/hppa/disksubr.c
+++ b/sys/arch/hppa/hppa/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.10 2002/12/29 19:10:04 mickey Exp $ */
+/* $OpenBSD: disksubr.c,v 1.11 2003/01/14 11:03:09 mickey Exp $ */
/*
* Copyright (c) 1999 Michael Shalayeff
@@ -653,9 +653,9 @@ readliflabel (bp, strat, lp, osdep, partoffp, cylp, spoofonly)
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 zero */
if (fsoff < 0)
- fsoff = btodb(LIF_FILESTART);
+ fsoff = 0;
}
if (partoffp)