Trivial tweaks. No logic changes
* process.c (sys_ptrace): Remove unneeded line wrapping.
* syscall.c (trace_syscall_entering): Use tprints() instead of tprintf().
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/process.c b/process.c
index 7035c2e..ab667e2 100644
--- a/process.c
+++ b/process.c
@@ -2170,9 +2170,7 @@
long addr;
if (entering(tcp)) {
- printxval(ptrace_cmds, tcp->u_arg[0],
- "PTRACE_???"
- );
+ printxval(ptrace_cmds, tcp->u_arg[0], "PTRACE_???");
tprintf(", %lu, ", tcp->u_arg[1]);
addr = tcp->u_arg[2];
if (tcp->u_arg[0] == PTRACE_PEEKUSER
diff --git a/syscall.c b/syscall.c
index 3ee4417..134be81 100644
--- a/syscall.c
+++ b/syscall.c
@@ -1471,7 +1471,7 @@
printleader(tcp);
tcp->flags &= ~TCB_REPRINT;
if (scno_good != 1)
- tprintf("????" /* anti-trigraph gap */ "(");
+ tprints("????" /* anti-trigraph gap */ "(");
else if (!SCNO_IN_RANGE(tcp->scno))
tprintf("syscall_%lu(", tcp->scno);
else