execve: change address argument type from long to kernel_ureg_t

* execve.c (printargv, printargc): Change address argument type
from long to kernel_ureg_t.
This commit is contained in:
2016-12-21 21:06:58 +00:00
parent 96512c4d78
commit ef54d3d838

View File

@ -34,7 +34,7 @@
#include "defs.h"
static void
printargv(struct tcb *tcp, long addr)
printargv(struct tcb *const tcp, kernel_ureg_t addr)
{
if (!addr || !verbose(tcp)) {
printaddr(addr);
@ -76,7 +76,7 @@ printargv(struct tcb *tcp, long addr)
}
static void
printargc(struct tcb *tcp, long addr)
printargc(struct tcb *const tcp, kernel_ureg_t addr)
{
if (!addr || !verbose(tcp)) {
printaddr(addr);