aboutsummaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1998-08-23 20:16:35 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1998-08-23 20:16:35 +0000
commitbe18fc123b4c937a647f5ec085502f76c368875f (patch)
tree38156bea18dd107a0c4a56cb4c21ffe20d899c02 /sys/scsi
parent2386a98ddd4ec3726308b1db15406d23f2575720 (diff)
remove bdevsw arg from dsopen();
Forgotten by: julian Reviewed by: bde
Notes
Notes: svn path=/head/; revision=38493
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/cd.c4
-rw-r--r--sys/scsi/od.c4
-rw-r--r--sys/scsi/sd.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index cfb6e19b04ac..750746f8e791 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
*
- * $Id: cd.c,v 1.97 1998/07/30 17:05:10 bde Exp $
+ * $Id: cd.c,v 1.98 1998/08/17 19:09:36 bde Exp $
*/
#include "opt_bounce.h"
@@ -340,7 +340,7 @@ cd_open(dev_t dev, int flags, int fmt, struct proc *p,
/* Initialize slice tables. */
errcode = dsopen("cd", dev, fmt, DSO_NOLABELS | DSO_ONESLICE,
&cd->dk_slices, &label, cdstrategy1,
- (ds_setgeom_t *)NULL, &cd_cdevsw, &cd_cdevsw);
+ (ds_setgeom_t *)NULL, &cd_cdevsw);
if (errcode != 0)
goto bad;
SC_DEBUG(sc_link, SDEV_DB3, ("Slice tables initialized "));
diff --git a/sys/scsi/od.c b/sys/scsi/od.c
index cfccdb946048..5943b50aae3f 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.44 1998/07/29 11:15:51 bde Exp $
+ * $Id: od.c,v 1.45 1998/07/30 15:16:05 bde Exp $
*/
/*
@@ -386,7 +386,7 @@ od_open(dev, mode, fmt, p, sc_link)
/* Initialize slice tables. */
errcode = dsopen("od", dev, fmt, 0, &od->dk_slices, &label, odstrategy1,
- (ds_setgeom_t *)NULL, &od_cdevsw, &od_cdevsw);
+ (ds_setgeom_t *)NULL, &od_cdevsw);
if (errcode != 0)
goto bad;
SC_DEBUG(sc_link, SDEV_DB3, ("Slice tables initialized "));
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index 1ddc16d677b1..6e4ee88a2077 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.137 1998/07/29 11:15:51 bde Exp $
+ * $Id: sd.c,v 1.138 1998/07/30 15:16:05 bde Exp $
*/
#include "opt_bounce.h"
@@ -487,7 +487,7 @@ sd_open(dev_t dev, int mode, int fmt, struct proc *p, struct scsi_link *sc_link)
/* Initialize slice tables. */
errcode = dsopen("sd", dev, fmt, 0, &sd->dk_slices, &label, sdstrategy1,
- (ds_setgeom_t *)NULL, &sd_cdevsw, &sd_cdevsw);
+ (ds_setgeom_t *)NULL, &sd_cdevsw);
if (errcode != 0)
goto close;
#endif /* !SLICE */