summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2007-03-01 11:18:41 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2007-03-01 11:18:41 +0000
commitb39ab018d6eadc467a565690b46f150033d85551 (patch)
treea02ec9d7040b395b17339ecf1997e8e7cd59f91e
parentd62565d429c9e8d362bca9a6da1fa046d8958c0c (diff)
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);
}