summaryrefslogtreecommitdiff
path: root/sys/kern/exec_elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/exec_elf.c')
-rw-r--r--sys/kern/exec_elf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c
index fdb671a179d..8b36d36ca36 100644
--- a/sys/kern/exec_elf.c
+++ b/sys/kern/exec_elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.c,v 1.103 2014/11/06 17:23:40 millert Exp $ */
+/* $OpenBSD: exec_elf.c,v 1.104 2014/11/06 17:31:19 tedu Exp $ */
/*
* Copyright (c) 1996 Per Fogelstrom
@@ -1002,7 +1002,6 @@ ELFNAMEEND(coredump)(struct proc *p, void *cookie)
psections = mallocarray(cs.npsections, sizeof(Elf_Phdr),
M_TEMP, M_WAITOK|M_ZERO);
psectionslen = cs.npsections * sizeof(Elf_Phdr);
- printf("coredump: malloc %zu bytes at %p\n", psectionslen, psections);
offset = sizeof(ehdr);
notestart = offset + psectionslen;
@@ -1076,7 +1075,6 @@ ELFNAMEEND(coredump)(struct proc *p, void *cookie)
}
out:
- printf("coredump: free %zu bytes at %p\n", psectionslen, psections);
free(psections, M_TEMP, psectionslen);
return (error);
#endif