diff options
author | jhb <jhb@FreeBSD.org> | 2003-04-16 20:04:47 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-04-16 20:04:47 +0000 |
commit | 8571db1e8343f0d3d1f3227f3876f8ac49dca2fd (patch) | |
tree | a0fc6762913bf52f6a75e8f989e74841fc53b509 /sys/alpha/linux/linux.h | |
parent | 2adf0f9f0c086e0ef046c800c8fccd9f392b846e (diff) | |
download | FreeBSD-src-8571db1e8343f0d3d1f3227f3876f8ac49dca2fd.zip FreeBSD-src-8571db1e8343f0d3d1f3227f3876f8ac49dca2fd.tar.gz |
Assume a struct thread *td instead of a struct proc *p in the debug
printf macros.
Diffstat (limited to 'sys/alpha/linux/linux.h')
-rw-r--r-- | sys/alpha/linux/linux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/alpha/linux/linux.h b/sys/alpha/linux/linux.h index 97b1dca..0504f27 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); |