Fix mips32 build after r332951.

Approved by:	jhb
This commit is contained in:
Li-Wen Hsu 2018-04-25 19:46:39 +00:00
parent 0967ef2ab8
commit 57e453099e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333010

View File

@ -264,7 +264,7 @@ ptrace_single_step(struct thread *td)
va = locr0->pc + 4;
}
if (td->td_md.md_ss_addr) {
printf("SS %s (%d): breakpoint already set at %lx (va %lx)\n",
printf("SS %s (%d): breakpoint already set at %zx (va %zx)\n",
p->p_comm, p->p_pid, td->td_md.md_ss_addr, va); /* XXX */
error = EFAULT;
goto out;
@ -500,7 +500,7 @@ ptrace_clear_single_step(struct thread *td)
if (error != 0) {
log(LOG_ERR,
"SS %s %d: can't restore instruction at %lx: %x\n",
"SS %s %d: can't restore instruction at %zx: %x\n",
p->p_comm, p->p_pid, td->td_md.md_ss_addr,
td->td_md.md_ss_instr);
}