aboutsummaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-05-30 21:48:41 +0200
committerMattias Andrée <maandree@kth.se>2020-05-30 21:48:41 +0200
commit261293d374570ee90def87fc5f503cbccb0c6a6c (patch)
tree826f7e209723051e76b11096d44c97c5e9a0dbc8 /print.c
parentAdd support for tracing fork children (diff)
downloadsctrace-261293d374570ee90def87fc5f503cbccb0c6a6c.tar.gz
sctrace-261293d374570ee90def87fc5f503cbccb0c6a6c.tar.bz2
sctrace-261293d374570ee90def87fc5f503cbccb0c6a6c.tar.xz
m + add support for tracing vfork children
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'print.c')
-rw-r--r--print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print.c b/print.c
index aee9c51..7519a36 100644
--- a/print.c
+++ b/print.c
@@ -140,12 +140,12 @@ print_systemcall(struct process *proc)
break
#define SIMPLE(NAME, FMT, RET_TYPE)\
case SYS_##NAME:\
- printf_systemcall(proc, #NAME, (FMT), args);\
+ printf_systemcall(proc, #NAME, (FMT));\
proc->ret_type = (RET_TYPE);\
break
#define FORMATTERS(NAME, FMT, RET_TYPE, ...)\
case SYS_##NAME:\
- printf_systemcall(proc, #NAME, (FMT), args, __VA_ARGS__);\
+ printf_systemcall(proc, #NAME, (FMT), __VA_ARGS__);\
proc->ret_type = (RET_TYPE);\
break