From 46ae26f7e0f65480ee522816622d02f89c1fce25 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 16 Apr 2003 20:04:47 +0000 Subject: [PATCH] Assume a struct thread *td instead of a struct proc *p in the debug printf macros. --- sys/alpha/linux/linux.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/alpha/linux/linux.h b/sys/alpha/linux/linux.h index 97b1dca21af..0504f27054f 100644 --- a/sys/alpha/linux/linux.h +++ b/sys/alpha/linux/linux.h @@ -38,8 +38,8 @@ */ extern u_char linux_debug_map[]; #define ldebug(name) isclr(linux_debug_map, LINUX_SYS_linux_ ## name) -#define ARGS(nm, fmt) "linux(%ld): "#nm"("fmt")\n", (long)p->p_pid -#define LMSG(fmt) "linux(%ld): "fmt"\n", (long)p->p_pid +#define ARGS(nm, fmt) "linux(%ld): "#nm"("fmt")\n", (long)td->td_proc->p_pid +#define LMSG(fmt) "linux(%ld): "fmt"\n", (long)td->td_proc->p_pid #ifdef MALLOC_DECLARE MALLOC_DECLARE(M_LINUX);