diff options
author | Tobias Weingartner <weingart@cvs.openbsd.org> | 1999-05-24 17:08:38 +0000 |
---|---|---|
committer | Tobias Weingartner <weingart@cvs.openbsd.org> | 1999-05-24 17:08:38 +0000 |
commit | d534a3278df9e098bba0d7a8be6d4f598bb97f7f (patch) | |
tree | 34c4a3855268d4f9002e33b4aa5517fbd51cbdb1 /sys/vm/vm_swap.c | |
parent | 9adf18635eea0e9d8af9366a8cc15a661b5dd090 (diff) |
quieter operation during initial mounting of primary swap
Diffstat (limited to 'sys/vm/vm_swap.c')
-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? |