From 14a4ecde9e3240eaa41347af56a5ba620686c159 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 11 Oct 2001 21:17:31 +0000 Subject: [PATCH] We use proc_rwmem (with the correct number of args) rather than procfs_domem in the new world order or procfs. Submitted by: des --- sys/alpha/alpha/machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index 10754d3fab74..566b073ef1f8 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -1640,7 +1640,7 @@ ptrace_read_int(struct thread *td, vm_offset_t addr, u_int32_t *v) uio.uio_segflg = UIO_SYSSPACE; uio.uio_rw = UIO_READ; uio.uio_td = td; - return procfs_domem(curproc, td->td_proc, NULL, &uio); + return proc_rwmem(td->td_proc, &uio); } static int @@ -1657,7 +1657,7 @@ ptrace_write_int(struct thread *td, vm_offset_t addr, u_int32_t v) uio.uio_segflg = UIO_SYSSPACE; uio.uio_rw = UIO_WRITE; uio.uio_td = td; - return procfs_domem(curproc, td->td_proc, NULL, &uio); + return proc_rwmem(td->td_proc, &uio); } static u_int64_t