Merge "Fix typo." am: e882aa841b
am: b39aca9657
am: 877528dc08
Original change: https://android-review.googlesource.com/c/platform/system/core/+/1966959 Change-Id: I9e3e9950b5675ffb985bb2983026fce8f20ad608
This commit is contained in:
commit
e758629132
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ constexpr char kWaitForDebuggerKey[] = "debug.debuggerd.wait_for_debugger";
|
|||
struct sigaction old_sigaction; \
|
||||
struct sigaction new_sigaction = {}; \
|
||||
new_sigaction.sa_handler = [](int) {}; \
|
||||
if (sigaction(SIGALRM, &new_sigaction, &new_sigaction) != 0) { \
|
||||
if (sigaction(SIGALRM, &new_sigaction, &old_sigaction) != 0) { \
|
||||
err(1, "sigaction failed"); \
|
||||
} \
|
||||
alarm(seconds); \
|
||||
|
|
Loading…
Reference in a new issue