diff --git a/src/runtime/src/coreclr/debug/createdump/crashinfounix.cpp b/src/runtime/src/coreclr/debug/createdump/crashinfounix.cpp index 03712c3b684..99d8a457957 100644 --- a/src/runtimr/src/coreclr/debug/createdump/crashinfounix.cpp +++ b/src/runtime/src/coreclr/debug/createdump/crashinfounix.cpp @@ -395,7 +395,7 @@ CrashInfo::ReadProcessMemory(void* address, void* buffer, size_t size, size_t* r // performance optimization. m_canUseProcVmReadSyscall = false; assert(m_fd != -1); - *read = pread64(m_fd, buffer, size, (off64_t)address); + *read = pread(m_fd, buffer, size, (off_t)address); } if (*read == (size_t)-1)