diff options
-rw-r--r-- | darwin-bootstrap/substituted.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/darwin-bootstrap/substituted.m b/darwin-bootstrap/substituted.m index 2b25c17..3dd17a4 100644 --- a/darwin-bootstrap/substituted.m +++ b/darwin-bootstrap/substituted.m @@ -225,8 +225,8 @@ enum convert_filters_ret { if (!fate) { /* no record yet */ crashed = false; - } else if (xxpc_get_type(out) == XXPC_TYPE_INT64) { - int stat = (int) xxpc_int64_get_value(out); + } else if (xxpc_get_type(fate) == XXPC_TYPE_INT64) { + int stat = (int) xxpc_int64_get_value(fate); crashed = WIFSIGNALED(stat) && WTERMSIG(stat) != SIGTERM; } else { goto bad_data; |