summaryrefslogtreecommitdiffstats
path: root/sys/scsi/sd.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-08-23 20:16:35 +0000
committerphk <phk@FreeBSD.org>1998-08-23 20:16:35 +0000
commit8c27af6df44b0e3286ad51416da0db7ad6495de3 (patch)
tree7de2f1981df0daf66fc5e0ddb0c98a6b4373bccd /sys/scsi/sd.c
parentc0efc73d67bcdbf621c1f90b4917bd5bccd40619 (diff)
downloadFreeBSD-src-8c27af6df44b0e3286ad51416da0db7ad6495de3.zip
FreeBSD-src-8c27af6df44b0e3286ad51416da0db7ad6495de3.tar.gz
remove bdevsw arg from dsopen();
Forgotten by: julian Reviewed by: bde
Diffstat (limited to 'sys/scsi/sd.c')
-rw-r--r--sys/scsi/sd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index 1ddc16d..6e4ee88 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 */
OpenPOWER on IntegriCloud