Subject: PR/33211 CVS commit: src/sys/compat/mach
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Jared D. McNeill <jmcneill@netbsd.org>
List: netbsd-bugs
Date: 09/23/2006 03:45:02
The following reply was made to PR kern/33211; it has been noted by GNATS.
From: "Jared D. McNeill" <jmcneill@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/33211 CVS commit: src/sys/compat/mach
Date: Sat, 23 Sep 2006 03:34:19 +0000 (UTC)
Module Name: src
Committed By: jmcneill
Date: Sat Sep 23 03:34:19 UTC 2006
Modified Files:
src/sys/compat/mach: mach_message.c
Log Message:
In mach_msg_receive(), don't declare 'struct proc *p' unless either
DEBUG_MACH_MSG or KTRACE are defined. The variable is unused otherwise,
resulting in a compile error. Fixes PR# 33211.
To generate a diff of this commit:
cvs rdiff -r1.48 -r1.49 src/sys/compat/mach/mach_message.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.