Module Name: src
Committed By: ad
Date: Fri Jul 17 23:31:51 UTC 2009
Modified Files:
src/sys/kern: init_main.c
Log Message:
Don't send the quiet banner to the log, since the usual noise gets dumped
there anyway.
To generate a diff of this commit:
cvs rdiff -u -r1.391 -r1.392 src/sys/kern/init_main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/init_main.c
diff -u src/sys/kern/init_main.c:1.391 src/sys/kern/init_main.c:1.392
--- src/sys/kern/init_main.c:1.391 Mon Jun 29 05:08:18 2009
+++ src/sys/kern/init_main.c Fri Jul 17 23:31:51 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: init_main.c,v 1.391 2009/06/29 05:08:18 dholland Exp $ */
+/* $NetBSD: init_main.c,v 1.392 2009/07/17 23:31:51 ad Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.391 2009/06/29 05:08:18 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.392 2009/07/17 23:31:51 ad Exp $");
#include "opt_ddb.h"
#include "opt_ipsec.h"
@@ -934,10 +934,10 @@
if ((boothowto & AB_SILENT) != 0) {
snprintf(pbuf, sizeof(pbuf), "%s %s (%s)",
ostype, osrelease, kernel_ident);
- printf("%s", pbuf);
+ printf_nolog("%s", pbuf);
for (i = 80 - strlen(pbuf) - sizeof(notice); i > 0; i--)
printf(" ");
- printf("%s\n", notice);
+ printf_nolog("%s\n", notice);
pr = aprint_normal;
} else {
pr = printf;