Subject: port-i386/32383: /usr/src/sys/arch/i386/i386/syscall.c doesn't compile
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <paul@Plectere.com>
List: netbsd-bugs
Date: 12/25/2005 18:50:01
>Number:         32383
>Category:       port-i386
>Synopsis:       proc -> lwp conversion incomplete; Build fails
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 25 18:50:00 +0000 2005
>Originator:     Paul Shupak
>Release:        NetBSD 3.99.15
>Organization:
	
>Environment:
	
	
System: NetBSD svcs 3.99.10 NetBSD 3.99.10 (SVCS) #22: Wed Oct 19 14:35:15 PDT 2005 root@svcs:/sys/arch/i386/compile/SVCS i386
Architecture: i386
Machine: i386
>Description:
	If compiled with OPTION KTRACE, the file .../arch/i386/i386/syscall.c
	passes a proc * where a lwp * is expected.
	
>How-To-Repeat:
	Try to build a kernel for i386 with option KTRACE
>Fix:
	Trivial patch

Index: syscall.c
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/i386/syscall.c,v
retrieving revision 1.31
diff -r1.31 syscall.c
346c346
< 		ktrsysret(p, SYS_fork, 0, 0);
---
> 		ktrsysret(l, SYS_fork, 0, 0);

>Unformatted: