diff options
author | mjacob <mjacob@FreeBSD.org> | 1999-05-07 17:48:44 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 1999-05-07 17:48:44 +0000 |
commit | cd92ca3d8e32a2213658368c057d80cbadb6d651 (patch) | |
tree | 0886b14229728f5ca64b62aa67fe92eb4448e32e /sys | |
parent | 183c88e4f694c6cf48475a5b714a63b022615381 (diff) | |
download | FreeBSD-src-cd92ca3d8e32a2213658368c057d80cbadb6d651.zip FreeBSD-src-cd92ca3d8e32a2213658368c057d80cbadb6d651.tar.gz |
Propagate i386 change to alpha (bdevsw[] -> bdevsw()).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/alpha/alpha/autoconf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/alpha/alpha/autoconf.c b/sys/alpha/alpha/autoconf.c index 032fbdd..0df3c08 100644 --- a/sys/alpha/alpha/autoconf.c +++ b/sys/alpha/alpha/autoconf.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: autoconf.c,v 1.16 1999/04/16 21:21:25 peter Exp $ + * $Id: autoconf.c,v 1.17 1999/05/03 09:36:26 dfr Exp $ */ #include "opt_bootp.h" @@ -296,11 +296,11 @@ setdumpdev(dev) return (0); } maj = major(dev); - if (maj >= nblkdev || bdevsw[maj] == NULL) + if (maj >= nblkdev || bdevsw(maj) == NULL) return (ENXIO); /* XXX is this right? */ - if (bdevsw[maj]->d_psize == NULL) + if (bdevsw(maj)->d_psize == NULL) return (ENXIO); /* XXX should be ENODEV ? */ - psize = bdevsw[maj]->d_psize(dev); + psize = bdevsw(maj)->d_psize(dev); if (psize == -1) return (ENXIO); /* XXX should be ENODEV ? */ /* |