Skip to content

Commit

Permalink
stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
HuskyDG authored Jan 7, 2024
1 parent 04d21a7 commit c4a0ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/jni/trace-init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ int trace_init_main(int argc, char *argv[]) {
ptrace(PTRACE_CONT, pid, 0, 0);
waitpid(pid, & status, __WALL);
if (STOPPED_WITH(SIGSTOP, 0)) {
fprintf(stdin, "%d\n", pid);
fprintf(stdout, "%d\n", pid);
ptrace(PTRACE_DETACH, pid, 0, SIGSTOP);
status = 0;
}
Expand Down

0 comments on commit c4a0ff8

Please sign in to comment.