Bug 22709

Summary: daemon_saver.c fails compile with -Wall -Werror
Product: Base System Reporter: gordont <gordont>
Component: kernAssignee: yokota <yokota>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description gordont 2000-11-09 01:50:01 UTC
	
	There are char's used as array indices causing the compiler
	to throw an warning (or error when compiled with -Werror).

Fix: I know this is really trivial but I figured it doesn't hurt to fix the code.
I'm not an expert coder (nor do I know C that well) but I'm trying to give
back and maybe learn a thing or two.

-gordon
How-To-Repeat: 
	
	(Assuming a Bourne Shell)
	cd /usr/src/sys/modules/syscons/daemon
	CC='cc -Wall -Werror' make
Comment 1 dirk freebsd_committer freebsd_triage 2000-11-09 11:41:23 UTC
Responsible Changed
From-To: gnats-admin->yokota

Over to Mr. syscons... 

Kazutaka, can you please look at the patches and commit them 
if appropriate?
Comment 2 yokota freebsd_committer freebsd_triage 2001-07-20 16:02:42 UTC
State Changed
From-To: open->closed

Fixed by nyan in both 5.0-CURRENT and RELENG_4.