diff options
author | brian <brian@FreeBSD.org> | 2001-08-28 23:58:32 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-08-28 23:58:32 +0000 |
commit | 5b037844c5bdc9bdbe2186cd9bfaf9bb71392f54 (patch) | |
tree | 5b255cf5197a1435656ef77f16e7a332bdb59d2a /sys | |
parent | 296dcc7cdadebf57159e23987b9f25ba90319bd4 (diff) | |
download | FreeBSD-src-5b037844c5bdc9bdbe2186cd9bfaf9bb71392f54.zip FreeBSD-src-5b037844c5bdc9bdbe2186cd9bfaf9bb71392f54.tar.gz |
OR M_WAITOK with M_ZERO in malloc()s args for clarity.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/imgact_elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index 96aeafd..031520f 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; |