diff options
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_swap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_swap.c b/sys/vm/vm_swap.c index d0f2f26..08825b1 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; |