diff options
author | phk <phk@FreeBSD.org> | 1999-11-29 21:37:18 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-11-29 21:37:18 +0000 |
commit | 9809b71a89596df0e6c511a25a2219593178436c (patch) | |
tree | 0ec9a12c6c37f65171287cd140b061b9180e48cd /sys/vm/vm_swap.c | |
parent | 2936ce7135176370f1f316ab54ffa44611c10218 (diff) | |
download | FreeBSD-src-9809b71a89596df0e6c511a25a2219593178436c.zip FreeBSD-src-9809b71a89596df0e6c511a25a2219593178436c.tar.gz |
Report swapdevices as cdevs rather than bdevs.
Remove unused dev2budev() function.
Diffstat (limited to 'sys/vm/vm_swap.c')
-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; |