Terminate the output line when a non-returning syscall is printed.

This commit is contained in:
mdodd 2002-08-04 01:28:13 +00:00
parent a43a331181
commit 8f1317d2b4
5 changed files with 5 additions and 0 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;