Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/librump/rumpkern If RUMP_VERBOSE is set in the env, ...
details: https://anonhg.NetBSD.org/src/rev/1b9a219e3fdf
branches: trunk
changeset: 750750:1b9a219e3fdf
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Jan 13 00:07:40 2010 +0000
description:
If RUMP_VERBOSE is set in the env, set boothowto to AB_VERBOSE.
diffstat:
sys/rump/librump/rumpkern/rump.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r eb568a3d165a -r 1b9a219e3fdf sys/rump/librump/rumpkern/rump.c
--- a/sys/rump/librump/rumpkern/rump.c Tue Jan 12 23:49:34 2010 +0000
+++ b/sys/rump/librump/rumpkern/rump.c Wed Jan 13 00:07:40 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rump.c,v 1.148 2009/12/16 20:59:04 pooka Exp $ */
+/* $NetBSD: rump.c,v 1.149 2010/01/13 00:07:40 pooka Exp $ */
/*
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
@@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.148 2009/12/16 20:59:04 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump.c,v 1.149 2010/01/13 00:07:40 pooka Exp $");
#include <sys/param.h>
#include <sys/atomic.h>
@@ -184,6 +184,11 @@
else
rump_inited = 1;
+ if (rumpuser_getenv("RUMP_VERBOSE", buf, sizeof(buf), &error) == 0) {
+ if (*buf != '0')
+ boothowto = AB_VERBOSE;
+ }
+
/* Print some silly banners for spammy bootstrap. */
if (boothowto & AB_VERBOSE) {
printf("%s%s", copyright, version);
Home |
Main Index |
Thread Index |
Old Index