Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2010 04:22:22 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r205357 - head/sys/ia64/ia64
Message-ID:  <201003200422.o2K4MMYq063837@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Sat Mar 20 04:22:22 2010
New Revision: 205357
URL: http://svn.freebsd.org/changeset/base/205357

Log:
  Don't check for boot_verbose in the environment. The loader does
  that already and sets RB_VERBOSE. The loader has always done it.

Modified:
  head/sys/ia64/ia64/machdep.c

Modified: head/sys/ia64/ia64/machdep.c
==============================================================================
--- head/sys/ia64/ia64/machdep.c	Sat Mar 20 03:58:00 2010	(r205356)
+++ head/sys/ia64/ia64/machdep.c	Sat Mar 20 04:22:22 2010	(r205357)
@@ -718,16 +718,6 @@ ia64_init(void)
 	 */
 	boothowto = bootinfo.bi_boothowto;
 
-	/*
-	 * Catch case of boot_verbose set in environment.
-	 */
-	if ((p = getenv("boot_verbose")) != NULL) {
-		if (strcmp(p, "yes") == 0 || strcmp(p, "YES") == 0) {
-			boothowto |= RB_VERBOSE;
-		}
-		freeenv(p);
-	}
-
 	if (boothowto & RB_VERBOSE)
 		bootverbose = 1;
 
@@ -796,7 +786,7 @@ ia64_init(void)
 	init_param1();
 
 	p = getenv("kernelname");
-	if (p) {
+	if (p != NULL) {
 		strncpy(kernelname, p, sizeof(kernelname) - 1);
 		freeenv(p);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003200422.o2K4MMYq063837>