diff options
Diffstat (limited to 'sys/arch/pmax')
-rw-r--r-- | sys/arch/pmax/pmax/vm_machdep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/pmax/pmax/vm_machdep.c b/sys/arch/pmax/pmax/vm_machdep.c index ac4779e6869..079b33bc47f 100644 --- a/sys/arch/pmax/pmax/vm_machdep.c +++ b/sys/arch/pmax/pmax/vm_machdep.c @@ -217,7 +217,7 @@ cpu_coredump(p, vp, cred, chdr) error = vn_rdwr(UIO_WRITE, vp, (caddr_t)&cseg, chdr->c_seghdrsize, (off_t)chdr->c_hdrsize, UIO_SYSSPACE, - IO_NODELOCKED|IO_UNIT, cred, (int *)NULL, p); + IO_NODELOCKED|IO_UNIT, cred, NULL, p); if (error) return error; @@ -225,8 +225,7 @@ cpu_coredump(p, vp, cred, chdr) (caddr_t)(&(p -> p_addr -> u_pcb.pcb_regs)), (off_t)chdr -> c_cpusize, (off_t)(chdr->c_hdrsize + chdr->c_seghdrsize), - UIO_SYSSPACE, IO_NODELOCKED|IO_UNIT, - cred, (int *)NULL, p); + UIO_SYSSPACE, IO_NODELOCKED|IO_UNIT, cred, NULL, p); if (!error) chdr->c_nseg++; |