diff options
author | phk <phk@FreeBSD.org> | 1999-08-28 14:33:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-08-28 14:33:44 +0000 |
commit | 9c72381e09a5593df856423c995563779f7535e8 (patch) | |
tree | 3471f1e5faa7dd2bf47573f428c3a46114bac456 /sys/i386/isa/wfd.c | |
parent | a261857e2d7ff67439a916b9f0b8db5e91302af0 (diff) | |
download | FreeBSD-src-9c72381e09a5593df856423c995563779f7535e8.zip FreeBSD-src-9c72381e09a5593df856423c995563779f7535e8.tar.gz |
We don't need to pass the diskname argument all over the diskslice/label
code, we can find the name from any convenient dev_t
Diffstat (limited to 'sys/i386/isa/wfd.c')
-rw-r--r-- | sys/i386/isa/wfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/wfd.c b/sys/i386/isa/wfd.c index f7837d7..3a169ac 100644 --- a/sys/i386/isa/wfd.c +++ b/sys/i386/isa/wfd.c @@ -374,7 +374,7 @@ int wfdopen (dev_t dev, int flags, int fmt, struct proc *p) label.d_secperunit = label.d_secpercyl * t->cap.cyls; /* Initialize slice tables. */ - errcode = dsopen("wfd", dev, fmt, 0, &t->dk_slices, &label); + errcode = dsopen(dev, fmt, 0, &t->dk_slices, &label); if (errcode != 0) return errcode; @@ -627,7 +627,7 @@ int wfdioctl (dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p) struct wfd *t = wfdtab[lun]; int error = 0; - error = dsioctl("wfd", dev, cmd, addr, flag, &t->dk_slices); + error = dsioctl(dev, cmd, addr, flag, &t->dk_slices); if (error != ENOIOCTL) return (error); |