diff options
author | 1999-05-24 17:08:37 +0000 | |
---|---|---|
committer | 1999-05-24 17:08:37 +0000 | |
commit | 1b823fb7ea4e6fd6de08536d55bc7e270f664139 (patch) | |
tree | ee1cc8689e49e6861f31979c58cade411e4a4bce | |
parent | bye-bye, swapctl does the same thing. (diff) | |
download | wireguard-openbsd-1b823fb7ea4e6fd6de08536d55bc7e270f664139.tar.xz wireguard-openbsd-1b823fb7ea4e6fd6de08536d55bc7e270f664139.zip |
quieter operation during initial mounting of primary swap
-rw-r--r-- | sys/vm/vm_swap.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/vm/vm_swap.c b/sys/vm/vm_swap.c index 1d80eb8e421..0675abd209f 100644 --- a/sys/vm/vm_swap.c +++ b/sys/vm/vm_swap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_swap.c,v 1.9 1999/05/22 21:22:34 weingart Exp $ */ +/* $OpenBSD: vm_swap.c,v 1.10 1999/05/24 17:08:37 weingart Exp $ */ /* $NetBSD: vm_swap.c,v 1.64 1998/11/08 19:45:17 mycroft Exp $ */ /* @@ -1243,14 +1243,11 @@ swapmount() } /* Look for a swap device */ - printf("Adding swap(%d, %d):", major(swap_dev), minor(swap_dev)); - if (swap_on(p, sdp) != 0) { - printf(" failed!\n"); free((caddr_t)sdp, M_VMSWAP); return; - } else - printf(" done.\n"); + } + #ifdef SWAP_TO_FILES /* * XXX Is NFS elaboration necessary? |