diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2004-02-22 01:14:54 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2004-02-22 01:14:54 +0000 |
| commit | fa81466148bd9e082c7efc4f21515d0773c8c89f (patch) | |
| tree | 8769d354bdd28440e1e972a67c56148f38b03baf /sys/cam | |
| parent | b17dd2bcc02cf408a3c8b9dee1df0da90a4f5217 (diff) | |
Notes
Diffstat (limited to 'sys/cam')
| -rw-r--r-- | sys/cam/scsi/scsi_da.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index 7127eb0844bb2..216797dfe6a52 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -464,11 +464,11 @@ daopen(struct disk *dp) s = splsoftcam(); periph = (struct cam_periph *)dp->d_drv1; - unit = periph->unit_number; if (periph == NULL) { splx(s); return (ENXIO); } + unit = periph->unit_number; softc = (struct da_softc *)periph->softc; |
