summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2010-03-20 04:22:22 +0000
committermarcel <marcel@FreeBSD.org>2010-03-20 04:22:22 +0000
commit964c1781bd27b89bd7d7e3fa60d2e05a58b86bbc (patch)
tree674e6cbef7ddf1641e9397fa35faac338fe60d74 /sys/ia64
parentabd90d1ee08cd373bdd48195a0d5718dc92e49ba (diff)
downloadFreeBSD-src-964c1781bd27b89bd7d7e3fa60d2e05a58b86bbc.zip
FreeBSD-src-964c1781bd27b89bd7d7e3fa60d2e05a58b86bbc.tar.gz
Don't check for boot_verbose in the environment. The loader does
that already and sets RB_VERBOSE. The loader has always done it.
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/machdep.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c
index fd1bc2a..ec3d612 100644
--- a/sys/ia64/ia64/machdep.c
+++ b/sys/ia64/ia64/machdep.c
@@ -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);
}
OpenPOWER on IntegriCloud