diff --git a/sys/scsi/od.c b/sys/scsi/od.c index f693824ed112..1dc817eb1380 100644 --- a/sys/scsi/od.c +++ b/sys/scsi/od.c @@ -28,7 +28,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $Id: od.c,v 1.41 1998/07/04 22:30:24 julian Exp $ + * $Id: od.c,v 1.42 1998/07/13 09:53:11 bde Exp $ */ /* @@ -370,6 +370,7 @@ od_open(dev, mode, fmt, p, sc_link) /* Build label for whole disk. */ bzero(&label, sizeof label); + label.d_type = DTYPE_SCSI; label.d_secsize = od->params.secsiz; label.d_nsectors = od->params.sectors; label.d_ntracks = od->params.heads; diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index 4a35005a1b10..c7e191b8ff09 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992 * - * $Id: sd.c,v 1.134 1998/07/13 08:23:05 julian Exp $ + * $Id: sd.c,v 1.135 1998/07/14 11:34:22 bde Exp $ */ #include "opt_bounce.h" @@ -474,6 +474,7 @@ sd_open(dev_t dev, int mode, int fmt, struct proc *p, struct scsi_link *sc_link) #ifndef SLICE /* Build label for whole disk. */ bzero(&label, sizeof label); + label.d_type = DTYPE_SCSI; label.d_secsize = sd->params.secsiz; label.d_nsectors = sd->params.sectors; label.d_ntracks = sd->params.heads;