diff options
-rw-r--r-- | sys/arch/alpha/alpha/disksubr.c | 4 | ||||
-rw-r--r-- | sys/arch/amd64/amd64/disksubr.c | 4 | ||||
-rw-r--r-- | sys/arch/arm/arm/disksubr.c | 4 | ||||
-rw-r--r-- | sys/arch/aviion/aviion/disksubr.c | 4 | ||||
-rw-r--r-- | sys/arch/hppa/hppa/disksubr.c | 4 | ||||
-rw-r--r-- | sys/arch/hppa64/hppa64/disksubr.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/i386/disksubr.c | 4 | ||||
-rw-r--r-- | sys/arch/macppc/macppc/disksubr.c | 4 | ||||
-rw-r--r-- | sys/arch/mips64/mips64/disksubr.c | 4 | ||||
-rw-r--r-- | sys/arch/mvmeppc/mvmeppc/disksubr.c | 4 | ||||
-rw-r--r-- | sys/arch/sparc/sparc/disksubr.c | 4 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/disksubr.c | 4 | ||||
-rw-r--r-- | sys/arch/vax/vax/disksubr.c | 4 |
13 files changed, 26 insertions, 26 deletions
diff --git a/sys/arch/alpha/alpha/disksubr.c b/sys/arch/alpha/alpha/disksubr.c index e87012f76e4..c6ed8a35d89 100644 --- a/sys/arch/alpha/alpha/disksubr.c +++ b/sys/arch/alpha/alpha/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.48 2006/07/11 00:51:21 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.49 2006/08/11 21:32:39 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -153,7 +153,7 @@ readdisklabel(dev, strat, lp, osdep, spoofonly) lp->d_partitions[i].p_offset = 0; } if (lp->d_partitions[i].p_size == 0) - lp->d_partitions[i].p_size = 0x1fffffff; + lp->d_partitions[i].p_size = lp->d_secperunit; lp->d_partitions[i].p_offset = 0; minilabel = fallbacklabel = *lp; diff --git a/sys/arch/amd64/amd64/disksubr.c b/sys/arch/amd64/amd64/disksubr.c index 29b0b067163..f8d53f28a50 100644 --- a/sys/arch/amd64/amd64/disksubr.c +++ b/sys/arch/amd64/amd64/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.9 2006/07/01 16:50:32 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.10 2006/08/11 21:32:39 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -90,7 +90,7 @@ readdisklabel(dev, strat, lp, osdep, spoofonly) lp->d_partitions[i].p_offset = 0; } if (lp->d_partitions[i].p_size == 0) - lp->d_partitions[i].p_size = 0x1fffffff; + lp->d_partitions[i].p_size = lp->d_secperunit; lp->d_partitions[i].p_offset = 0; /* get a buffer and initialize it */ diff --git a/sys/arch/arm/arm/disksubr.c b/sys/arch/arm/arm/disksubr.c index e9612677767..7e83d9f5caa 100644 --- a/sys/arch/arm/arm/disksubr.c +++ b/sys/arch/arm/arm/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.9 2006/07/01 16:50:32 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.10 2006/08/11 21:32:39 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -89,7 +89,7 @@ readdisklabel(dev, strat, lp, osdep, spoofonly) lp->d_partitions[i].p_offset = 0; } if (lp->d_partitions[i].p_size == 0) - lp->d_partitions[i].p_size = 0x1fffffff; + lp->d_partitions[i].p_size = lp->d_secperunit; lp->d_partitions[i].p_offset = 0; /* get a buffer and initialize it */ diff --git a/sys/arch/aviion/aviion/disksubr.c b/sys/arch/aviion/aviion/disksubr.c index 44dd2c6e85e..bd89d8d85db 100644 --- a/sys/arch/aviion/aviion/disksubr.c +++ b/sys/arch/aviion/aviion/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.2 2006/07/01 16:50:33 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.3 2006/08/11 21:32:40 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -89,7 +89,7 @@ readdisklabel(dev, strat, lp, osdep, spoofonly) lp->d_partitions[i].p_offset = 0; } if (lp->d_partitions[i].p_size == 0) - lp->d_partitions[i].p_size = 0x1fffffff; + lp->d_partitions[i].p_size = lp->d_secperunit; lp->d_partitions[i].p_offset = 0; /* get a buffer and initialize it */ diff --git a/sys/arch/hppa/hppa/disksubr.c b/sys/arch/hppa/hppa/disksubr.c index 9a6496b9b7c..6dc3e45c4e9 100644 --- a/sys/arch/hppa/hppa/disksubr.c +++ b/sys/arch/hppa/hppa/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.28 2006/07/09 21:06:39 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.29 2006/08/11 21:32:40 krw Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -157,7 +157,7 @@ readdisklabel(dev, strat, lp, osdep, spoofonly) lp->d_partitions[i].p_offset = 0; } if (lp->d_partitions[i].p_size == 0) - lp->d_partitions[i].p_size = 0x1fffffff; + lp->d_partitions[i].p_size = lp->d_secperunit; lp->d_partitions[i].p_offset = 0; minilabel = fallbacklabel = *lp; diff --git a/sys/arch/hppa64/hppa64/disksubr.c b/sys/arch/hppa64/hppa64/disksubr.c index 4306a07ea5e..f5ca8500280 100644 --- a/sys/arch/hppa64/hppa64/disksubr.c +++ b/sys/arch/hppa64/hppa64/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.11 2006/07/09 21:06:39 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.12 2006/08/11 21:32:40 krw Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -157,7 +157,7 @@ readdisklabel(dev, strat, lp, osdep, spoofonly) lp->d_partitions[i].p_offset = 0; } if (lp->d_partitions[i].p_size == 0) - lp->d_partitions[i].p_size = 0x1fffffff; + lp->d_partitions[i].p_size = lp->d_secperunit; lp->d_partitions[i].p_offset = 0; minilabel = fallbacklabel = *lp; diff --git a/sys/arch/i386/i386/disksubr.c b/sys/arch/i386/i386/disksubr.c index 90dfec56555..1f528da5cae 100644 --- a/sys/arch/i386/i386/disksubr.c +++ b/sys/arch/i386/i386/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.51 2006/07/01 16:50:33 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.52 2006/08/11 21:32:40 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -90,7 +90,7 @@ readdisklabel(dev, strat, lp, osdep, spoofonly) lp->d_partitions[i].p_offset = 0; } if (lp->d_partitions[i].p_size == 0) - lp->d_partitions[i].p_size = 0x1fffffff; + lp->d_partitions[i].p_size = lp->d_secperunit; lp->d_partitions[i].p_offset = 0; /* get a buffer and initialize it */ diff --git a/sys/arch/macppc/macppc/disksubr.c b/sys/arch/macppc/macppc/disksubr.c index e6906a918ca..c2c67c2a4f1 100644 --- a/sys/arch/macppc/macppc/disksubr.c +++ b/sys/arch/macppc/macppc/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.18 2006/07/01 16:50:33 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.19 2006/08/11 21:32:40 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -90,7 +90,7 @@ readdisklabel(dev_t dev, void (*strat)(struct buf *), lp->d_partitions[i].p_offset = 0; } if (lp->d_partitions[i].p_size == 0) - lp->d_partitions[i].p_size = 0x1fffffff; + lp->d_partitions[i].p_size = lp->d_secperunit; lp->d_partitions[i].p_offset = 0; /* get a buffer and initialize it */ diff --git a/sys/arch/mips64/mips64/disksubr.c b/sys/arch/mips64/mips64/disksubr.c index b45ad969ca5..7b3139838d5 100644 --- a/sys/arch/mips64/mips64/disksubr.c +++ b/sys/arch/mips64/mips64/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.17 2006/07/09 21:06:39 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.18 2006/08/11 21:32:40 krw Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -158,7 +158,7 @@ readdisklabel(dev, strat, lp, osdep, spoofonly) lp->d_partitions[i].p_offset = 0; } if (lp->d_partitions[i].p_size == 0) - lp->d_partitions[i].p_size = 0x1fffffff; + lp->d_partitions[i].p_size = lp->d_secperunit; lp->d_partitions[i].p_offset = 0; minilabel = fallbacklabel = *lp; diff --git a/sys/arch/mvmeppc/mvmeppc/disksubr.c b/sys/arch/mvmeppc/mvmeppc/disksubr.c index e42c1d41535..8e0489696dc 100644 --- a/sys/arch/mvmeppc/mvmeppc/disksubr.c +++ b/sys/arch/mvmeppc/mvmeppc/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.14 2006/07/01 16:50:33 krw Exp $ */ +/* $OpenBSD: disksubr.c,v 1.15 2006/08/11 21:32:40 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -89,7 +89,7 @@ readdisklabel(dev, strat, lp, osdep, spoofonly) lp->d_partitions[i].p_offset = 0; } if (lp->d_partitions[i].p_size == 0) - lp->d_partitions[i].p_size = 0x1fffffff; + lp->d_partitions[i].p_size = lp->d_secperunit; lp->d_partitions[i].p_offset = 0; /* get a buffer and initialize it */ diff --git a/sys/arch/sparc/sparc/disksubr.c b/sys/arch/sparc/sparc/disksubr.c index 127d6b7a8a0..d1b6f1a20ed 100644 --- a/sys/arch/sparc/sparc/disksubr.c +++ b/sys/arch/sparc/sparc/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.39 2006/03/15 20:20:41 miod Exp $ */ +/* $OpenBSD: disksubr.c,v 1.40 2006/08/11 21:32:40 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.16 1996/04/28 20:25:59 thorpej Exp $ */ /* @@ -94,7 +94,7 @@ readdisklabel(dev, strat, lp, clp, spoofonly) lp->d_partitions[i].p_offset = 0; } if (lp->d_partitions[i].p_size == 0) - lp->d_partitions[i].p_size = 0x1fffffff; + lp->d_partitions[i].p_size = lp->d_secperunit; lp->d_partitions[i].p_offset = 0; lp->d_bbsize = 8192; lp->d_sbsize = 64*1024; /* XXX ? */ diff --git a/sys/arch/sparc64/sparc64/disksubr.c b/sys/arch/sparc64/sparc64/disksubr.c index e8ab0f78753..7ae7359562d 100644 --- a/sys/arch/sparc64/sparc64/disksubr.c +++ b/sys/arch/sparc64/sparc64/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.17 2006/03/15 20:20:41 miod Exp $ */ +/* $OpenBSD: disksubr.c,v 1.18 2006/08/11 21:32:40 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.13 2000/12/17 22:39:18 pk Exp $ */ /* @@ -95,7 +95,7 @@ readdisklabel(dev, strat, lp, clp, spoofonly) lp->d_partitions[i].p_offset = 0; } if (lp->d_partitions[i].p_size == 0) - lp->d_partitions[i].p_size = 0x1fffffff; + lp->d_partitions[i].p_size = lp->d_secperunit; lp->d_partitions[i].p_offset = 0; lp->d_bbsize = 8192; lp->d_sbsize = 64*1024; /* XXX ? */ diff --git a/sys/arch/vax/vax/disksubr.c b/sys/arch/vax/vax/disksubr.c index 86ee2e25261..10ec3410132 100644 --- a/sys/arch/vax/vax/disksubr.c +++ b/sys/arch/vax/vax/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.28 2006/07/19 20:19:59 miod Exp $ */ +/* $OpenBSD: disksubr.c,v 1.29 2006/08/11 21:32:40 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1999/06/30 18:48:06 ragge Exp $ */ /* @@ -138,7 +138,7 @@ readdisklabel(dev, strat, lp, osdep, spoofonly) lp->d_partitions[i].p_offset = 0; } if (lp->d_partitions[i].p_size == 0) - lp->d_partitions[i].p_size = 0x1fffffff; + lp->d_partitions[i].p_size = lp->d_secperunit; lp->d_partitions[i].p_offset = 0; lp->d_bbsize = 8192; lp->d_sbsize = 64 * 1024; |