Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 05/26/2004 16:28:05
Module Name:	src
Committed By:	christos
Date:		Wed May 26 16:28:05 UTC 2004

Modified Files:
	src/sys/kern: init_sysctl.c kern_systrace.c sys_process.c

Log Message:
(off_t)(long) is wrong when it comes to kernel addresses [because on a 32 bit
machine if the high bit is set they turn negative]. Make an intermediate cast
to unsigned long.


To generate a diff of this commit:
cvs rdiff -r1.29 -r1.30 src/sys/kern/init_sysctl.c
cvs rdiff -r1.39 -r1.40 src/sys/kern/kern_systrace.c
cvs rdiff -r1.89 -r1.90 src/sys/kern/sys_process.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.