summaryrefslogtreecommitdiff
path: root/sys/vm
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-11-29 21:37:18 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-11-29 21:37:18 +0000
commitc464420c895bf2f25619ec6347117369cea0b3ad (patch)
tree0f4f3337f9d67642c290dc6fe545321ad983acfe /sys/vm
parentda142cb3a72a815c505bf2b22c198f652649dfc1 (diff)
downloadsrc-test2-c464420c895bf2f25619ec6347117369cea0b3ad.tar.gz
src-test2-c464420c895bf2f25619ec6347117369cea0b3ad.zip
Notes
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_swap.c b/sys/vm/vm_swap.c
index d0f2f26924c4..08825b13a47d 100644
--- a/sys/vm/vm_swap.c
+++ b/sys/vm/vm_swap.c
@@ -247,7 +247,7 @@ swaponvp(p, vp, dev, nblks)
nblks = dbtoc(nblks);
sp->sw_vp = vp;
- sp->sw_dev = dev2budev(dev);
+ sp->sw_dev = dev2udev(dev);
sp->sw_device = dev;
sp->sw_flags |= SW_FREED;
sp->sw_nblks = nblks;