Propagate i386 change to alpha (bdevsw[] -> bdevsw()).
This commit is contained in:
parent
b83308b00b
commit
eacbd96bcb
@ -23,7 +23,7 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* 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"
|
#include "opt_bootp.h"
|
||||||
@ -296,11 +296,11 @@ setdumpdev(dev)
|
|||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
maj = major(dev);
|
maj = major(dev);
|
||||||
if (maj >= nblkdev || bdevsw[maj] == NULL)
|
if (maj >= nblkdev || bdevsw(maj) == NULL)
|
||||||
return (ENXIO); /* XXX is this right? */
|
return (ENXIO); /* XXX is this right? */
|
||||||
if (bdevsw[maj]->d_psize == NULL)
|
if (bdevsw(maj)->d_psize == NULL)
|
||||||
return (ENXIO); /* XXX should be ENODEV ? */
|
return (ENXIO); /* XXX should be ENODEV ? */
|
||||||
psize = bdevsw[maj]->d_psize(dev);
|
psize = bdevsw(maj)->d_psize(dev);
|
||||||
if (psize == -1)
|
if (psize == -1)
|
||||||
return (ENXIO); /* XXX should be ENODEV ? */
|
return (ENXIO); /* XXX should be ENODEV ? */
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user