Subject: CVS commit: src/sys
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 01/01/2003 01:45:37
Module Name:	src
Committed By:	thorpej
Date:		Tue Dec 31 23:45:37 UTC 2002

Modified Files:
	src/sys/kern: subr_prf.c
	src/sys/sys: systm.h

Log Message:
Add aprint_error(), which is like aprint_normal(), but also records
the number of times it is called.  This allows subsystems to report
the number of errors that occurred during a quiet/silent subsystem
startup.  aprint_get_error_count() reports this count and resets it
to 0.

Also add printf_nolog(), which is like printf(), but prevents the
output from hitting the system log.


To generate a diff of this commit:
cvs rdiff -r1.88 -r1.89 src/sys/kern/subr_prf.c
cvs rdiff -r1.154 -r1.155 src/sys/sys/systm.h

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