diff --git a/debuggerd/libdebuggerd/utility.cpp b/debuggerd/libdebuggerd/utility.cpp index d71fc6c7f..15f09b341 100644 --- a/debuggerd/libdebuggerd/utility.cpp +++ b/debuggerd/libdebuggerd/utility.cpp @@ -382,8 +382,10 @@ const char* get_sigcode(const siginfo_t* si) { return "SEGV_MTEAERR"; case SEGV_MTESERR: return "SEGV_MTESERR"; + case SEGV_CPERR: + return "SEGV_CPERR"; } - static_assert(NSIGSEGV == SEGV_MTESERR, "missing SEGV_* si_code"); + static_assert(NSIGSEGV == SEGV_CPERR, "missing SEGV_* si_code"); break; case SIGSYS: switch (si->si_code) {