Skip to content

Commit aa402a4

Browse files
fixup! [libunwind] Replace process_vm_readv with pipe
1 parent 23c0dd1 commit aa402a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libunwind/src/UnwindCursor.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2987,7 +2987,7 @@ bool UnwindCursor<A, R>::isReadableAddr(const pint_t addr) const {
29872987
// different from libc sizeof(sigset_t). Some archs have sigset_t
29882988
// defined as unsigned long, so let's use that.
29892989
const auto approxKernelSigsetSize = sizeof(unsigned long);
2990-
[[maybe_unused]] int Result =
2990+
[[maybe_unused]] const int Result =
29912991
syscall(SYS_rt_sigprocmask, /*how=*/~0, sigsetAddr, sigsetAddr,
29922992
approxKernelSigsetSize);
29932993
// Because our "how" is invalid, this syscall should always fail, and our

0 commit comments

Comments
 (0)