sigaltstack: cast pointers and sizes to kernel_ureg_t instead of unsigned long
* sigaltstack.c (print_stack_t): Cast sigaltstack.ss_sp pointer and sigaltstack.ss_size to kernel_ureg_t instead of unsigned long.
This commit is contained in:
parent
e0c3675c37
commit
3b213e9074
@ -49,10 +49,10 @@ print_stack_t(struct tcb *const tcp, const kernel_ureg_t addr)
|
||||
return;
|
||||
|
||||
tprints("{ss_sp=");
|
||||
printaddr((unsigned long) ss.ss_sp);
|
||||
printaddr((kernel_ureg_t) ss.ss_sp);
|
||||
tprints(", ss_flags=");
|
||||
printflags(sigaltstack_flags, ss.ss_flags, "SS_???");
|
||||
tprintf(", ss_size=%lu}", (unsigned long) ss.ss_size);
|
||||
tprintf(", ss_size=%lu}", (kernel_ureg_t) ss.ss_size);
|
||||
}
|
||||
|
||||
SYS_FUNC(sigaltstack)
|
||||
|
Loading…
Reference in New Issue
Block a user