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

This commit is contained in:
Brian Somers 2001-08-28 23:58:32 +00:00
parent 96b7a6e441
commit 546a92c4d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82477

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;