aboutsummaryrefslogtreecommitdiffstats
path: root/execve.c
diff options
context:
space:
mode:
Diffstat (limited to 'execve.c')
-rw-r--r--execve.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/execve.c b/execve.c
index 31e80a69..4f2639d2 100644
--- a/execve.c
+++ b/execve.c
@@ -42,8 +42,7 @@ printargc(const char *fmt, struct tcb *tcp, long addr)
tprintf(fmt, count, count == 1 ? "" : "s");
}
-int
-sys_execve(struct tcb *tcp)
+SYS_FUNC(execve)
{
if (entering(tcp)) {
printpath(tcp, tcp->u_arg[0]);
@@ -68,8 +67,7 @@ sys_execve(struct tcb *tcp)
}
#if defined(SPARC) || defined(SPARC64)
-int
-sys_execv(struct tcb *tcp)
+SYS_FUNC(execv)
{
if (entering(tcp)) {
printpath(tcp, tcp->u_arg[0]);