From c746a5adbf7c66d95c33ffbde7d3182eaff14b73 Mon Sep 17 00:00:00 2001 From: niklas Date: Sat, 18 Jan 1997 12:24:25 +0000 Subject: [PATCH] Boundary error (s/<=/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) -- 2.20.1