Skip to content

Commit

Permalink
Fix 32-bit build of RecordTask::try_grow_map.
Browse files Browse the repository at this point in the history
This got introduced in 7bd2d4a.
  • Loading branch information
bernhardu authored and rocallahan committed Mar 17, 2024
1 parent dbaa5b9 commit 288f176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RecordTask.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2359,7 +2359,7 @@ bool RecordTask::try_grow_map(remote_ptr<void> addr) {
remote_ptr<void> limit_bottom;
#if defined (__i386__)
struct rlimit stack_limit;
int ret = prlimit(t->tid, RLIMIT_STACK, NULL, &stack_limit);
int ret = prlimit(tid, RLIMIT_STACK, NULL, &stack_limit);
#else
struct rlimit64 stack_limit;
int ret = syscall(__NR_prlimit64, tid, RLIMIT_STACK, (void*)0, &stack_limit);
Expand Down

0 comments on commit 288f176

Please sign in to comment.