mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
OR M_WAITOK with M_ZERO in malloc()s args for clarity.
This commit is contained in:
parent
96b7a6e441
commit
546a92c4d4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82477
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user