diff options
author | Mark Johnston <markj@FreeBSD.org> | 2017-10-06 21:52:28 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2017-10-06 21:52:28 +0000 |
commit | f38c0c46c5e7e71f7e449de7c98ccd52afad3135 (patch) | |
tree | 4d73782c5242e53e2e796b0a482e7e4e8b5692fb /sys/kern/subr_stack.c | |
parent | c0b63519b0309515445f4a973f4a727bf9ba077a (diff) | |
download | src-f38c0c46c5e7e71f7e449de7c98ccd52afad3135.tar.gz src-f38c0c46c5e7e71f7e449de7c98ccd52afad3135.zip |
Notes
Diffstat (limited to 'sys/kern/subr_stack.c')
-rw-r--r-- | sys/kern/subr_stack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_stack.c b/sys/kern/subr_stack.c index 85102c04f03d..eb155726f00c 100644 --- a/sys/kern/subr_stack.c +++ b/sys/kern/subr_stack.c @@ -50,11 +50,11 @@ static int stack_symbol(vm_offset_t pc, char *namebuf, u_int buflen, static int stack_symbol_ddb(vm_offset_t pc, const char **name, long *offset); struct stack * -stack_create(void) +stack_create(int flags) { struct stack *st; - st = malloc(sizeof *st, M_STACK, M_WAITOK | M_ZERO); + st = malloc(sizeof(*st), M_STACK, flags | M_ZERO); return (st); } |