summaryrefslogtreecommitdiffstats
path: root/sys/i386
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/i386
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/i386')
-rw-r--r--sys/i386/isa/wd.c4
-rw-r--r--sys/i386/isa/wfd.c5
2 files changed, 4 insertions, 5 deletions
diff --git a/sys/i386/isa/wd.c b/sys/i386/isa/wd.c
index 009e4a7..bd0e469 100644
--- a/sys/i386/isa/wd.c
+++ b/sys/i386/isa/wd.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
- * $Id: wd.c,v 1.172 1998/07/13 08:23:01 julian Exp $
+ * $Id: wd.c,v 1.173 1998/07/30 15:16:04 bde Exp $
*/
/* TODO:
@@ -1501,7 +1501,7 @@ wdopen(dev_t dev, int flags, int fmt, struct proc *p)
label.d_secpercyl = du->dk_dd.d_secpercyl;
label.d_secperunit = du->dk_dd.d_secperunit;
error = dsopen("wd", dev, fmt, 0, &du->dk_slices, &label, wdstrategy1,
- (ds_setgeom_t *)NULL, &wd_cdevsw, &wd_cdevsw);
+ (ds_setgeom_t *)NULL, &wd_cdevsw);
}
du->dk_flags &= ~DKFL_LABELLING;
wdsleep(du->dk_ctrlr, "wdopn2");
diff --git a/sys/i386/isa/wfd.c b/sys/i386/isa/wfd.c
index 31ee4c2..560cfde 100644
--- a/sys/i386/isa/wfd.c
+++ b/sys/i386/isa/wfd.c
@@ -23,7 +23,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: wfd.c,v 1.13 1998/07/13 09:53:03 bde Exp $
+ * $Id: wfd.c,v 1.14 1998/07/30 15:16:05 bde Exp $
*/
/*
@@ -375,8 +375,7 @@ int wfdopen (dev_t dev, int flags, int fmt, struct proc *p)
/* Initialize slice tables. */
errcode = dsopen("wfd", dev, fmt, 0, &t->dk_slices, &label,
- wfdstrategy1, (ds_setgeom_t *)NULL, &wfd_cdevsw,
- &wfd_cdevsw);
+ wfdstrategy1, (ds_setgeom_t *)NULL, &wfd_cdevsw);
if (errcode != 0)
return errcode;
OpenPOWER on IntegriCloud