Skip to content

Commit

Permalink
Fix status abi typo
Browse files Browse the repository at this point in the history
It was a typo to use status64 in CHECK_DAEMON_EXIT(32).
  • Loading branch information
JingMatrix committed Jan 7, 2025
1 parent cbf2445 commit 57ecf0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/src/ptracer/monitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ struct SigChldHandler : public EventHandler {
continue;
}
#define CHECK_DAEMON_EXIT(abi) \
if (status##abi.supported && pid == status64.daemon_pid) { \
if (status##abi.supported && pid == status##abi.daemon_pid) { \
auto status_str = parse_status(status); \
LOGW("daemon" #abi "pid %d exited: %s", pid, status_str.c_str()); \
status##abi.daemon_running = false; \
Expand Down

0 comments on commit 57ecf0e

Please sign in to comment.