From 27899b333b0874b85975e36945d5bc741c4ed3e1 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Wed, 7 Jul 1999 09:12:44 +0000 Subject: [PATCH] add unused argument to udev2dev() to make kernel compiled --- sys/vm/vm_swap.c | 4 ++-- 1 file 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;