add unused argument to udev2dev() to make kernel compiled

This commit is contained in:
ache 1999-07-07 09:12:44 +00:00
parent d6e4f6885e
commit cd91d2db51

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)vm_swap.c 8.5 (Berkeley) 2/17/94
* $Id: vm_swap.c,v 1.74 1999/07/07 03:03:59 green Exp $
* $Id: vm_swap.c,v 1.75 1999/07/07 04:07:03 msmith Exp $
*/
#include "opt_devfs.h"
@ -156,7 +156,7 @@ swstrategy(bp)
biodone(bp);
return;
}
bp->b_dev = udev2dev(sp->sw_dev);
bp->b_dev = udev2dev(sp->sw_dev, 2);
if (sp->sw_vp == NULL) {
bp->b_error = ENODEV;
bp->b_flags |= B_ERROR;