From 6661707d38a9f80a3ad20b583c2f5970ba5e8bae Mon Sep 17 00:00:00 2001 From: comex Date: Sun, 12 Jul 2015 19:27:54 -0400 Subject: aand, one last fix --- darwin-bootstrap/substituted.m | 4 ++-- 1 file 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; -- cgit v1.2.3