From 288f176766e5914ea7ae0860b9d3d86cd3138b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20=C3=9Cbelacker?= Date: Sun, 17 Mar 2024 10:02:48 +0100 Subject: [PATCH] Fix 32-bit build of RecordTask::try_grow_map. This got introduced in 7bd2d4ab2. --- src/RecordTask.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RecordTask.cc b/src/RecordTask.cc index ef2235d7a4a..aa3dac1790d 100644 --- a/src/RecordTask.cc +++ b/src/RecordTask.cc @@ -2359,7 +2359,7 @@ bool RecordTask::try_grow_map(remote_ptr addr) { remote_ptr 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);