Commits

Adam Hoka  committed 7f1438e

fix GET_PROCESS_NAME

  • Participants
  • Parent commits cfbebae

Comments (0)

Files changed (1)

File kernel/OS/NetBSD/os_netbsd.h

 #include <sys/mutex.h>
 #include <sys/kernel.h>
 #include <sys/select.h>
+#include <sys/lwp.h>
 #include <machine/pio.h>
 #include <machine/vmparam.h>
 
 
 #define GET_PROCESS_PID(f)	f->pid
 #define GET_PROCESS_UID(x)	oss_get_uid()
-#define GET_PROCESS_NAME(f)	l->l_name
+#define GET_PROCESS_NAME(f)	curlwp->l_name
 
 #define abs(x)                  ((x) >= 0 ? (x) : -(x))