Skip to content

Commit

Permalink
[test-utils] Fix call to tu_fatal in tu_handle_close.
Browse files Browse the repository at this point in the history
Change-Id: I5299de331ff3ecca9248eac06448de972bfad191
  • Loading branch information
xdje42 committed Sep 14, 2016
1 parent 619d4eb commit 7d5108b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/ulib/test-utils/test-utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void tu_handle_close(mx_handle_t handle)
mx_status_t status = mx_handle_close(handle);
// TODO(dje): It's still an open question as to whether errors other than ERR_BAD_HANDLE are "advisory".
if (status < 0) {
tu_fatal(__func__, handle);
tu_fatal(__func__, status);
}
}

Expand Down

0 comments on commit 7d5108b

Please sign in to comment.