oldstat: change address argument type from unsigned long to kernel_ureg_t

* oldstat.c (print_old_kernel_stat): Change address argument type
from unsigned long to kernel_ureg_t.
This commit is contained in:
Дмитрий Левин 2016-12-21 21:39:15 +00:00
parent edfeca944a
commit 173164923e

View File

@ -36,7 +36,7 @@
#ifdef HAVE_STRUCT___OLD_KERNEL_STAT
static void
print_old_kernel_stat(struct tcb *tcp, const unsigned long addr)
print_old_kernel_stat(struct tcb *const tcp, const kernel_ureg_t addr)
{
struct __old_kernel_stat buf;
if (umove_or_printaddr(tcp, addr, &buf))