Subject: kern/23204: minor compile errors
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dheeraj@ece.gatech.edu>
List: netbsd-bugs
Date: 10/20/2003 04:02:23
>Number:         23204
>Category:       kern
>Synopsis:       minor compile errors
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 20 04:03:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dheeraj Reddy
>Release:        current as of 19 Oct
>Organization:
Anon
>Environment:
NetBSD vagisha 1.6ZD NetBSD 1.6ZD (VAGISHA) #1: Sun Oct 19 18:58:06 EDT 2003  root@vagisha:/usr/src/sys/arch/i386/compile/VAGISHA i386
>Description:
in line numebr 161, 162, 163 and 164 of 
sys/kern/kern_sa.c,v 1.26
the assignment should be to 0 and not to null
vaddr_t is 'unsigned long' and not a pointer
the compile breaks with strict prototype checking

PS: I reported a similar bug earlier too and if its too minor to be reported please let me know and I shall desist from reporting these in the future.
>How-To-Repeat:

>Fix:
assign them to 0

>Release-Note:
>Audit-Trail:
>Unformatted: