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:
Christopher Ferris 2022-01-31 23:36:14 +00:00 committed by Automerger Merge Worker
commit e758629132

View file

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