Add missing &

This commit is contained in:
Peter Wemm 2002-02-08 04:17:33 +00:00
parent 97b79abc86
commit 489b85b027
2 changed files with 2 additions and 2 deletions

View File

@ -392,7 +392,7 @@ get_kcore_registers (regno)
/* find the pcb for the current process */
if (cur_proc == NULL)
error ("get_kcore_registers no proc");
if (kvread (TAILQ_FIRST(&cur_proc->p_threads), &mainthread)) /* XXXKSE */
if (kvread (&TAILQ_FIRST(&cur_proc->p_threads), &mainthread)) /* XXXKSE */
error ("cannot read main thread for proc at %#x", cur_proc);
if (kvread (&mainthread->td_pcb, &pcbaddr)) /* XXXKSE */
error ("cannot read pcb pointer for proc at %#x", cur_proc);

View File

@ -392,7 +392,7 @@ get_kcore_registers (regno)
/* find the pcb for the current process */
if (cur_proc == NULL)
error ("get_kcore_registers no proc");
if (kvread (TAILQ_FIRST(&cur_proc->p_threads), &mainthread)) /* XXXKSE */
if (kvread (&TAILQ_FIRST(&cur_proc->p_threads), &mainthread)) /* XXXKSE */
error ("cannot read main thread for proc at %#x", cur_proc);
if (kvread (&mainthread->td_pcb, &pcbaddr)) /* XXXKSE */
error ("cannot read pcb pointer for proc at %#x", cur_proc);