From 7369d0ab5f93b3b083e030bef64486b02cafb3d5 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Mon, 6 Mar 2023 17:56:28 +0100 Subject: Kernel: Stop using NonnullLockRefPtrVector --- Kernel/Coredump.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Kernel/Coredump.cpp') diff --git a/Kernel/Coredump.cpp b/Kernel/Coredump.cpp index be9d2811ac..15e444763e 100644 --- a/Kernel/Coredump.cpp +++ b/Kernel/Coredump.cpp @@ -310,10 +310,10 @@ ErrorOr Coredump::create_notes_threads_data(auto& builder) const for (auto const& thread : m_process->threads_for_coredump({})) { ELF::Core::ThreadInfo info {}; info.header.type = ELF::Core::NotesEntryHeader::Type::ThreadInfo; - info.tid = thread.tid().value(); + info.tid = thread->tid().value(); - if (thread.current_trap()) - copy_kernel_registers_into_ptrace_registers(info.regs, thread.get_register_dump_from_stack()); + if (thread->current_trap()) + copy_kernel_registers_into_ptrace_registers(info.regs, thread->get_register_dump_from_stack()); TRY(builder.append_bytes(ReadonlyBytes { &info, sizeof(info) })); } -- cgit v1.2.3