summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_swap.c
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>1999-07-20 21:29:13 +0000
committergreen <green@FreeBSD.org>1999-07-20 21:29:13 +0000
commitbf26dc70748746679d00feaff1e523b36007d6fa (patch)
treecad512909a54ae0c8ab785cf7bcd5f9cba130217 /sys/vm/vm_swap.c
parent636feedd28b9d8d576a4624516dbcd34d7598dae (diff)
downloadFreeBSD-src-bf26dc70748746679d00feaff1e523b36007d6fa.zip
FreeBSD-src-bf26dc70748746679d00feaff1e523b36007d6fa.tar.gz
Make a dev2budev() function, and use it. This refixes pstat (working, broken,
working, broken, working) and savecore (working, working, broken, working, working). Sorta Reviewed by: phk
Diffstat (limited to 'sys/vm/vm_swap.c')
-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 cf28eef..9b9f405 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.77 1999/07/17 18:43:50 phk Exp $
+ * $Id: vm_swap.c,v 1.78 1999/07/17 19:59:55 phk Exp $
*/
#include "opt_devfs.h"
@@ -314,7 +314,7 @@ swaponvp(p, vp, dev, nblks)
nblks = dbtoc(nblks);
sp->sw_vp = vp;
- sp->sw_dev = dev2udev(dev);
+ sp->sw_dev = dev2budev(dev);
sp->sw_device = dev;
sp->sw_flags |= SW_FREED;
sp->sw_nblks = nblks;
OpenPOWER on IntegriCloud