summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-18 12:24:26 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-01-18 12:24:26 +0000
commit83c05e7dd4f8f83a4adda105f2f68315782c3746 (patch)
tree359f52937212f903fb82a84addc2423918532b56 /sys/scsi
parentb46fb37fbaf05cd57269ecf4897182f766275710 (diff)
Boundary error (s/<=/</)
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/scsiconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index c1b2000a65e..1fd4f17f9f1 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.c,v 1.22 1997/01/16 20:47:32 kstailey Exp $ */
+/* $OpenBSD: scsiconf.c,v 1.23 1997/01/18 12:24:25 niklas Exp $ */
/* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */
/*
@@ -158,7 +158,7 @@ scsibusattach(parent, self, aux)
if (sb->sc_link == NULL)
panic("scsibusattach: can't allocate target links");
nbytes = 8 * sizeof(struct scsi_link *);
- for (i = 0; i <= sb->sc_buswidth; i++) {
+ for (i = 0; i < sb->sc_buswidth; i++) {
sb->sc_link[i] = (struct scsi_link **)malloc(nbytes,
M_DEVBUF, M_NOWAIT);
if (sb->sc_link[i] == NULL)