summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1999-07-07 09:12:44 +0000
committerache <ache@FreeBSD.org>1999-07-07 09:12:44 +0000
commit41c66e41883e87604494c3e2cb36d733ce6a794e (patch)
treedd8cd3cac53649d8c7e2c75b4afb4444f663924c /sys/vm
parent30e244e4e1b87c50d9b3093af21864711a3cf9db (diff)
downloadFreeBSD-src-41c66e41883e87604494c3e2cb36d733ce6a794e.zip
FreeBSD-src-41c66e41883e87604494c3e2cb36d733ce6a794e.tar.gz
add unused argument to udev2dev() to make kernel compiled
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_swap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_swap.c b/sys/vm/vm_swap.c
index 1f76e39..89d2a5b 100644
--- a/sys/vm/vm_swap.c
+++ b/sys/vm/vm_swap.c
@@ -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;
OpenPOWER on IntegriCloud