summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2007-03-01 11:18:40 +0000
committerart <art@openbsd.org>2007-03-01 11:18:40 +0000
commit5d373d5208811dd9f5585dbee16653e7674ee340 (patch)
treeb4d08a0ca9560c0215c641fd0b457cd6d322a7b6
parentIn acx_set_probe_resp_tmplt () ieee80211_beacon_alloc() could fail so check the (diff)
downloadwireguard-openbsd-5d373d5208811dd9f5585dbee16653e7674ee340.tar.xz
wireguard-openbsd-5d373d5208811dd9f5585dbee16653e7674ee340.zip
Remove two ancient debugging printfs.
-rw-r--r--sys/kern/kern_exec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index 7116c4ee57a..60aad9c4f37 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_exec.c,v 1.100 2006/11/15 17:25:40 jmc Exp $ */
+/* $OpenBSD: kern_exec.c,v 1.101 2007/03/01 11:18:40 art Exp $ */
/* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */
/*-
@@ -794,7 +794,6 @@ exec_sigcode_map(struct proc *p, struct emul *e)
if ((r = uvm_map(kernel_map, &va, round_page(sz), e->e_sigobject,
0, 0, UVM_MAPFLAG(UVM_PROT_RW, UVM_PROT_RW,
UVM_INH_SHARE, UVM_ADV_RANDOM, 0)))) {
- printf("kernel mapping failed %d\n", r);
uao_detach(e->e_sigobject);
return (ENOMEM);
}
@@ -808,7 +807,6 @@ exec_sigcode_map(struct proc *p, struct emul *e)
if (uvm_map(&p->p_vmspace->vm_map, &p->p_sigcode, round_page(sz),
e->e_sigobject, 0, 0, UVM_MAPFLAG(UVM_PROT_RX, UVM_PROT_RX,
UVM_INH_SHARE, UVM_ADV_RANDOM, 0))) {
- printf("user mapping failed\n");
uao_detach(e->e_sigobject);
return (ENOMEM);
}