diff options
author | Rene Ladan <rene@FreeBSD.org> | 2020-05-20 19:08:10 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2020-05-20 19:08:10 +0000 |
commit | 7eb8e7d21674b614743053672bb97739827b136c (patch) | |
tree | 1080b44921a07cdfce93a7c087c643708c4a261e /sysutils/memfetch/files/patch-memfetch.c | |
parent | audio/libaudec: Remove tests from build (diff) |
sysutils/memfetch: unbreak and unexpire
Upstream changed a source file without a version bump (back in 2007)
PR: 246156
Submitted by: Chris Hutchinson
Approved by: maintainer timeout (onatan@gmail.com, 2 weeks)
MFH: 2020Q2
Notes
Notes:
svn path=/head/; revision=536017
Diffstat (limited to 'sysutils/memfetch/files/patch-memfetch.c')
-rw-r--r-- | sysutils/memfetch/files/patch-memfetch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/memfetch/files/patch-memfetch.c b/sysutils/memfetch/files/patch-memfetch.c index a90349ebdcbe..022aad444b05 100644 --- a/sysutils/memfetch/files/patch-memfetch.c +++ b/sysutils/memfetch/files/patch-memfetch.c @@ -78,8 +78,8 @@ st,len); if (avoid_mmap) writeptr=MAP_FAILED; else { -- for (i=st;i<=en;i+=PAGE_SIZE) ptrace(PTRACE_PEEKDATA,tracepid,i,0); -+ for (i=st;i<=en;i+=PAGE_SIZE) ptrace(PT_READ_D,tracepid,(caddr_t)i,0); +- for (i=st;i<en;i+=PAGE_SIZE) ptrace(PTRACE_PEEKDATA,tracepid,i,0); ++ for (i=st;i<en;i+=PAGE_SIZE) ptrace(PT_READ_D,tracepid,(caddr_t)i,0); writeptr=mmap(0,len,PROT_READ,MAP_PRIVATE,memfile,st); } |