diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-11-26 10:22:08 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-11-26 10:22:08 +0000 |
commit | bdc31518909df807a0119b36caaea09d83af95cb (patch) | |
tree | 9f4cf82acaf0adc99e68ebcc3d95553584bf83cd /sys/uvm/uvm_swap.c | |
parent | 6ffa1e56137df7fe273e01c0fe771ed2dc0a4f5a (diff) |
Remove unnecessary printfs. From deraadt@
Diffstat (limited to 'sys/uvm/uvm_swap.c')
-rw-r--r-- | sys/uvm/uvm_swap.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/uvm/uvm_swap.c b/sys/uvm/uvm_swap.c index 21f768a78c4..5c69f671dcf 100644 --- a/sys/uvm/uvm_swap.c +++ b/sys/uvm/uvm_swap.c @@ -2012,10 +2012,7 @@ swapmount() if (copystr("swap_device", sdp->swd_path, sdp->swd_pathlen, 0)) panic("swapmount: copystr"); - printf("Adding swap(%d, %d):", major(swap_dev), minor(swap_dev)); - if (swap_on(curproc, sdp)) { - printf(" failed!\n"); swaplist_find(vp, 1); swaplist_trim(); vput(sdp->swd_vp); @@ -2024,7 +2021,5 @@ swapmount() return; } - printf(" ok.\n"); - VOP_UNLOCK(vp, 0, curproc); } |