OR M_WAITOK with M_ZERO in malloc()s args for clarity.

This commit is contained in:
brian 2001-08-28 23:58:32 +00:00
parent 296dcc7cda
commit 5b037844c5

View File

@ -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;