diff options
author | comex | 2015-07-12 19:27:54 -0400 |
---|---|---|
committer | comex | 2015-07-12 19:27:54 -0400 |
commit | 6661707d38a9f80a3ad20b583c2f5970ba5e8bae (patch) | |
tree | 976f8c80c12895ef4b8e6cbd40c2c5ded7f94f9e | |
parent | fix my hash table algorithm - argh (diff) | |
download | substitute-6661707d38a9f80a3ad20b583c2f5970ba5e8bae.tar.gz |
aand, one last fix
-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; |