diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-06-26 22:31:48 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-06-26 22:31:48 +0000 |
commit | 1c964bef19ae2671ce91fcfa1cbc03e08eda3c41 (patch) | |
tree | 0df3c89ac42ef6091f01c2e2d4a97a8e1a6bd1a5 | |
parent | 3ad6b24f31b81eb12cdfe3435c8c2d7d5ae10800 (diff) |
126 -> NBT_BAD
-rw-r--r-- | sys/arch/sparc/sparc/disksubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/disksubr.c b/sys/arch/sparc/sparc/disksubr.c index 3973caa6e3b..440fd75f85a 100644 --- a/sys/arch/sparc/sparc/disksubr.c +++ b/sys/arch/sparc/sparc/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.24 2000/10/18 21:00:40 mickey Exp $ */ +/* $OpenBSD: disksubr.c,v 1.25 2001/06/26 22:31:47 miod Exp $ */ /* $NetBSD: disksubr.c,v 1.16 1996/04/28 20:25:59 thorpej Exp $ */ /* @@ -661,7 +661,7 @@ isbad(bt, cyl, trk, sec) register long blk, bblk; blk = ((long)cyl << 16) + (trk << 8) + sec; - for (i = 0; i < 126; i++) { + for (i = 0; i < NBT_BAD; i++) { bblk = ((long)bt->bt_bad[i].bt_cyl << 16) + bt->bt_bad[i].bt_trksec; if (blk == bblk) |