aboutsummaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2020-06-02 15:14:20 +0200
committerMattias Andrée <maandree@kth.se>2020-06-02 15:14:20 +0200
commit7e2cd3c5f4576a44e62d5727ef19ab747964c775 (patch)
tree109bbec3fbb73482aaf0425a300c1c057ac97250 /print.c
parentFix regressen: print pointers in hexadecimal (diff)
downloadsctrace-7e2cd3c5f4576a44e62d5727ef19ab747964c775.tar.gz
sctrace-7e2cd3c5f4576a44e62d5727ef19ab747964c775.tar.bz2
sctrace-7e2cd3c5f4576a44e62d5727ef19ab747964c775.tar.xz
Minor cleanup
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--print.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/print.c b/print.c
index 9ca03c8..1d7c8fd 100644
--- a/print.c
+++ b/print.c
@@ -954,9 +954,7 @@ print_systemcall_exit(struct process *proc)
tprintf(proc, "= %lli", (long long int)proc->ret);
if (RETURN_IS_ERROR(proc->ret)) {
- tprintf(proc, " (%s: %s)", get_errno_name(-(int)proc->ret), strerror(-(int)proc->ret));
- tprintf(proc, "\n");
-
+ tprintf(proc, " (%s: %s)\n", get_errno_name(-(int)proc->ret), strerror(-(int)proc->ret));
} else {
tprintf(proc, "\n");
for (i = 0; i < 6; i++) {