mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Assume a struct thread *td instead of a struct proc *p in the debug
printf macros.
This commit is contained in:
parent
4bedc36141
commit
46ae26f7e0
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue