rename struct 'regs' to 'reg'

This commit is contained in:
cgd 1993-12-22 13:07:47 +00:00
parent 953dee1999
commit e1c650fe5f
1 changed files with 2 additions and 2 deletions

View File

@ -1277,7 +1277,7 @@ ptrace_getregs(struct proc *p, unsigned int *addr)
int error;
struct trapframe *tp;
struct pcb *pcb;
struct regs regs = {0};
struct reg regs = {0};
void *ptr = (char*)p->p_addr + ((char*) p->p_regs - (char*) USRSTACK);
pcb = &p->p_addr->u_pcb;
@ -1305,7 +1305,7 @@ ptrace_setregs(struct proc *p, unsigned int *addr)
int error;
struct trapframe *tp;
struct pcb *pcb;
struct regs regs = {0};
struct reg regs = {0};
void *ptr = (char*)p->p_addr + ((char*) p->p_regs - (char*) USRSTACK);
if (error = copyin(addr, &regs, sizeof(regs)))