Merge "Fix typo." am: e882aa841b

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1966959

Change-Id: I377c71304202d4ae897c8a5470f993d26e6d6256
This commit is contained in:
Christopher Ferris 2022-01-31 23:09:14 +00:00 committed by Automerger Merge Worker
commit b39aca9657

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