Skip to content

Commit

Permalink
Fix wrong variable name in iree_wait_until_impl for Apple platform (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
antiagainst authored Feb 11, 2022
1 parent b3b3d61 commit 1224bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iree/base/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static bool iree_wait_until_impl(iree_time_t deadline_ns) {
.tv_sec = (time_t)(delta_ns / 1000000000ull),
.tv_nsec = (long)(delta_ns % 1000000000ull),
};
int ret = nanosleep(&ts, NULL);
int ret = nanosleep(&abs_ts, NULL);
if (ret != 0) return false;
now_ns = iree_time_now();
}
Expand Down

0 comments on commit 1224bbd

Please sign in to comment.