diff options
author | mdodd <mdodd@FreeBSD.org> | 2002-08-04 01:28:13 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2002-08-04 01:28:13 +0000 |
commit | ca2c836450531d844dddbeaf79c7400d8007d5d4 (patch) | |
tree | 5650aa04c145b504a35b08e39f986ed9584cf1bf /usr.bin/truss | |
parent | 3cb287247d5c599cde0f7839b27320c6ae3b907c (diff) | |
download | FreeBSD-src-ca2c836450531d844dddbeaf79c7400d8007d5d4.zip FreeBSD-src-ca2c836450531d844dddbeaf79c7400d8007d5d4.tar.gz |
Terminate the output line when a non-returning syscall is printed.
Diffstat (limited to 'usr.bin/truss')
-rw-r--r-- | usr.bin/truss/alpha-fbsd.c | 1 | ||||
-rw-r--r-- | usr.bin/truss/amd64-fbsd32.c | 1 | ||||
-rw-r--r-- | usr.bin/truss/amd64-linux32.c | 1 | ||||
-rw-r--r-- | usr.bin/truss/i386-fbsd.c | 1 | ||||
-rw-r--r-- | usr.bin/truss/i386-linux.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/truss/alpha-fbsd.c b/usr.bin/truss/alpha-fbsd.c index a7b5baf..6a2509a 100644 --- a/usr.bin/truss/alpha-fbsd.c +++ b/usr.bin/truss/alpha-fbsd.c @@ -255,6 +255,7 @@ alpha_syscall_entry(struct trussinfo *trussinfo, int nargs) { if (!strcmp(fsc.name, "execve") || !strcmp(fsc.name, "exit")) { print_syscall(trussinfo, fsc.name, fsc.nargs, fsc.s_args); + fprintf(trussinfo->outfile, "\n"); } return; diff --git a/usr.bin/truss/amd64-fbsd32.c b/usr.bin/truss/amd64-fbsd32.c index 6364927..5a1fb32 100644 --- a/usr.bin/truss/amd64-fbsd32.c +++ b/usr.bin/truss/amd64-fbsd32.c @@ -234,6 +234,7 @@ i386_syscall_entry(struct trussinfo *trussinfo, int nargs) { if (!strcmp(fsc.name, "execve") || !strcmp(fsc.name, "exit")) { print_syscall(trussinfo, fsc.name, fsc.nargs, fsc.s_args); + fprintf(trussinfo->outfile, "\n"); } return; diff --git a/usr.bin/truss/amd64-linux32.c b/usr.bin/truss/amd64-linux32.c index f307c80..af07e7b 100644 --- a/usr.bin/truss/amd64-linux32.c +++ b/usr.bin/truss/amd64-linux32.c @@ -183,6 +183,7 @@ i386_linux_syscall_entry(struct trussinfo *trussinfo, int nargs) { if (!strcmp(lsc.name, "linux_execve") || !strcmp(lsc.name, "exit")) { print_syscall(trussinfo, lsc.name, lsc.nargs, lsc.s_args); + fprintf(trussinfo->outfile, "\n"); } return; diff --git a/usr.bin/truss/i386-fbsd.c b/usr.bin/truss/i386-fbsd.c index 6364927..5a1fb32 100644 --- a/usr.bin/truss/i386-fbsd.c +++ b/usr.bin/truss/i386-fbsd.c @@ -234,6 +234,7 @@ i386_syscall_entry(struct trussinfo *trussinfo, int nargs) { if (!strcmp(fsc.name, "execve") || !strcmp(fsc.name, "exit")) { print_syscall(trussinfo, fsc.name, fsc.nargs, fsc.s_args); + fprintf(trussinfo->outfile, "\n"); } return; diff --git a/usr.bin/truss/i386-linux.c b/usr.bin/truss/i386-linux.c index f307c80..af07e7b 100644 --- a/usr.bin/truss/i386-linux.c +++ b/usr.bin/truss/i386-linux.c @@ -183,6 +183,7 @@ i386_linux_syscall_entry(struct trussinfo *trussinfo, int nargs) { if (!strcmp(lsc.name, "linux_execve") || !strcmp(lsc.name, "exit")) { print_syscall(trussinfo, lsc.name, lsc.nargs, lsc.s_args); + fprintf(trussinfo->outfile, "\n"); } return; |