aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1999-07-07 09:12:44 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1999-07-07 09:12:44 +0000
commit27899b333b0874b85975e36945d5bc741c4ed3e1 (patch)
tree437fbcd7cd654142f731ca1788c600d3b453756e
parent7fe29b0aef945432d9c5ba741bf2cc1adb47ccfe (diff)
downloadsrc-27899b333b0874b85975e36945d5bc741c4ed3e1.tar.gz
src-27899b333b0874b85975e36945d5bc741c4ed3e1.zip
add unused argument to udev2dev() to make kernel compiled
Notes
Notes: svn path=/head/; revision=48658
-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 1f76e3912a72..89d2a5b2bc8d 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;