summaryrefslogtreecommitdiff
path: root/sys/kern/imgact_elf.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-08-28 23:58:32 +0000
committerBrian Somers <brian@FreeBSD.org>2001-08-28 23:58:32 +0000
commit546a92c4d4b33795c204fb66ac28bb7421c2dd87 (patch)
tree5b255cf5197a1435656ef77f16e7a332bdb59d2a /sys/kern/imgact_elf.c
parent96b7a6e4418795bb569a3f471e70690bef819293 (diff)
downloadsrc-test2-546a92c4d4b33795c204fb66ac28bb7421c2dd87.tar.gz
src-test2-546a92c4d4b33795c204fb66ac28bb7421c2dd87.zip
Notes
Diffstat (limited to 'sys/kern/imgact_elf.c')
-rw-r--r--sys/kern/imgact_elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c
index 96aeafdacc41..031520fe6d10 100644
--- a/sys/kern/imgact_elf.c
+++ b/sys/kern/imgact_elf.c
@@ -922,7 +922,7 @@ elf_corehdr(p, vp, cred, numsegs, hdr, hdrsize)
prfpregset_t *fpregset;
prpsinfo_t *psinfo;
- tempdata = malloc(sizeof(*tempdata), M_TEMP, M_ZERO);
+ tempdata = malloc(sizeof(*tempdata), M_TEMP, M_ZERO | M_WAITOK);
status = &tempdata->status;
fpregset = &tempdata->fpregset;
psinfo = &tempdata->psinfo;