summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-04-24 04:53:00 +0000
committerderaadt <deraadt@openbsd.org>2000-04-24 04:53:00 +0000
commit32e64d583afee2b95515dba5b1a55dc6271a1542 (patch)
tree5df762f95b9d270c74a02d5afb94e69b15a5d876
parentadd descriptions for ipv6, dhcpd, and others to bring this uptodate (diff)
downloadwireguard-openbsd-32e64d583afee2b95515dba5b1a55dc6271a1542.tar.xz
wireguard-openbsd-32e64d583afee2b95515dba5b1a55dc6271a1542.zip
support DOSPTYP_EXTENDL like DOSPTYP_EXTEND; scott@nts.umn.edu
-rw-r--r--sys/arch/alpha/alpha/disksubr.c3
-rw-r--r--sys/arch/i386/i386/disksubr.c3
-rw-r--r--sys/arch/mips/mips/disksubr.c3
-rw-r--r--sys/arch/powerpc/powerpc/disksubr.c3
4 files changed, 8 insertions, 4 deletions
diff --git a/sys/arch/alpha/alpha/disksubr.c b/sys/arch/alpha/alpha/disksubr.c
index 8c3debfee37..e1b351fe1f7 100644
--- a/sys/arch/alpha/alpha/disksubr.c
+++ b/sys/arch/alpha/alpha/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.29 1999/07/17 23:12:07 deraadt Exp $ */
+/* $OpenBSD: disksubr.c,v 1.30 2000/04/24 04:53:00 deraadt Exp $ */
/* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */
/*
@@ -475,6 +475,7 @@ donot:
n++;
break;
case DOSPTYP_EXTEND:
+ case DOSPTYP_EXTENDL:
part_blkno = dp2->dp_start + extoff;
if (!extoff)
extoff = dp2->dp_start;
diff --git a/sys/arch/i386/i386/disksubr.c b/sys/arch/i386/i386/disksubr.c
index ecfb1aa1dc0..ab4aca46e8c 100644
--- a/sys/arch/i386/i386/disksubr.c
+++ b/sys/arch/i386/i386/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.37 1999/07/17 17:00:26 csapuntz Exp $ */
+/* $OpenBSD: disksubr.c,v 1.38 2000/04/24 04:53:01 deraadt Exp $ */
/* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */
/*
@@ -229,6 +229,7 @@ donot:
n++;
break;
case DOSPTYP_EXTEND:
+ case DOSPTYP_EXTENDL:
part_blkno = get_le(&dp2->dp_start) + extoff;
if (!extoff)
extoff = get_le(&dp2->dp_start);
diff --git a/sys/arch/mips/mips/disksubr.c b/sys/arch/mips/mips/disksubr.c
index 270d61bf233..2efcdeba32e 100644
--- a/sys/arch/mips/mips/disksubr.c
+++ b/sys/arch/mips/mips/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.9 1999/07/17 23:12:08 deraadt Exp $ */
+/* $OpenBSD: disksubr.c,v 1.10 2000/04/24 04:53:01 deraadt Exp $ */
/* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */
/*
@@ -232,6 +232,7 @@ donot:
n++;
break;
case DOSPTYP_EXTEND:
+ case DOSPTYP_EXTENDL:
part_blkno = get_le(&dp2->dp_start) + extoff;
if (!extoff)
extoff = get_le(&dp2->dp_start);
diff --git a/sys/arch/powerpc/powerpc/disksubr.c b/sys/arch/powerpc/powerpc/disksubr.c
index f81d4f2336d..1b14ae4652a 100644
--- a/sys/arch/powerpc/powerpc/disksubr.c
+++ b/sys/arch/powerpc/powerpc/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.12 1999/01/08 04:29:09 millert Exp $ */
+/* $OpenBSD: disksubr.c,v 1.13 2000/04/24 04:53:01 deraadt Exp $ */
/* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */
/*
@@ -227,6 +227,7 @@ donot:
n++;
break;
case DOSPTYP_EXTEND:
+ case DOSPTYP_EXTENDL:
part_blkno = get_le(&dp2->dp_start) + extoff;
if (!extoff)
extoff = get_le(&dp2->dp_start);