Subject: CVS commit: src/sbin/shutdown
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 03/14/2007 03:52:28
Module Name:	src
Committed By:	christos
Date:		Wed Mar 14 03:52:28 UTC 2007

Modified Files:
	src/sbin/shutdown: Makefile shutdown.c

Log Message:
- sprinkle static
- pass WARNS=4 and lint
- use size_t/time_t where appropriate
- get/setprogname()
- before executing rc.shutdown, set the real user id to 0, because shutdown
  scripts may depend on it (for example su depends on being root).
- use warn instead of perror, and make sure we use the right errno.


To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 src/sbin/shutdown/Makefile
cvs rdiff -r1.46 -r1.47 src/sbin/shutdown/shutdown.c

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